|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import { _Widget } from "../widget"; |
|
|
|
|
import { _Widget, Widget } from "../widget"; |
|
|
|
|
|
|
|
|
|
export interface _Layout extends _Widget { |
|
|
|
|
addItem(item: any): any; |
|
|
|
@ -31,3 +31,35 @@ export interface _Layout extends _Widget {
|
|
|
|
|
|
|
|
|
|
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; |
|
|
|
|
} |
|
|
|
|