fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2 KiB

import { _Widget, Widget } from "../widget";
export interface _Layout extends _Widget {
addItem(item: any): any;
prependItem(item: any): any;
addItemAt(index: string, item: any): any;
removeItemAt(indexes: any): void;
shouldUpdateItem(index: number, item: any): boolean;
updateItemAt(index: number, item: any): any;
addItems<T>(items: T[], context?: any): void;
prependItems<T>(items: T[], context?: any): void;
getValue<T>(): T[];
setText(v: string): void;
update(opt: any): any;
stroke<T>(items: T[]): void;
removeWidget(nameOrWidget: any): void;
populate<T>(items?: T[]): void;
resize(): void;
}
export declare class Layout extends Widget {
addItem(item: any): any;
prependItem(item: any): any;
addItemAt(index: string, item: any): any;
removeItemAt(indexes: any): void;
shouldUpdateItem(index: number, item: any): boolean;
updateItemAt(index: number, item: any): any;
addItems<T>(items: T[], context?: any): void;
prependItems<T>(items: T[], context?: any): void;
getValue<T>(): T[];
setText(v: string): void;
update(opt: any): any;
stroke<T>(items: T[]): void;
removeWidget(nameOrWidget: any): void;
populate<T>(items?: T[]): void;
resize(): void;
}