forked from fanruan/fineui
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.3 KiB
36 lines
1.3 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 { |
|
static xtype: string; |
|
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; |
|
}
|
|
|