1 | import { GridLayoutBase, ItemSpec as ItemSpecBase } from './grid-layout-common';
|
2 | export * from './grid-layout-common';
|
3 | interface ItemSpec extends ItemSpecBase {
|
4 | toJSON(): {
|
5 | value: number;
|
6 | type: number;
|
7 | };
|
8 | }
|
9 | export declare class GridLayout extends GridLayoutBase {
|
10 | nativeViewProtected: org.nativescript.widgets.GridLayout;
|
11 | createNativeView(): org.nativescript.widgets.GridLayout;
|
12 | initNativeView(): void;
|
13 | resetNativeView(): void;
|
14 | _onRowAdded(itemSpec: ItemSpec): void;
|
15 | addRows(itemSpecs: ItemSpec[]): void;
|
16 | addColumns(itemSpecs: ItemSpec[]): void;
|
17 | _onColumnAdded(itemSpec: ItemSpec): void;
|
18 | removeColumns(): void;
|
19 | removeRows(): void;
|
20 | _onRowRemoved(itemSpec: ItemSpec, index: number): void;
|
21 | _onColumnRemoved(itemSpec: ItemSpec, index: number): void;
|
22 | protected invalidate(): void;
|
23 | }
|