()
| 14 | nativeViewProtected: org.nativescript.widgets.GridLayout; |
| 15 | |
| 16 | public createNativeView() { |
| 17 | const layout = new org.nativescript.widgets.GridLayout(this._context); |
| 18 | layout.addRowsFromJSON( |
| 19 | JSON.stringify([ |
| 20 | { value: 1, type: 0 /* org.nativescript.widgets.GridUnitType.auto */ }, |
| 21 | { value: 1, type: 2 /* org.nativescript.widgets.GridUnitType.star */ }, |
| 22 | ]), |
| 23 | ); |
| 24 | return layout; |
| 25 | } |
| 26 | |
| 27 | public initNativeView(): void { |
| 28 | super.initNativeView(); |
nothing calls this directly
no test coverage detected