chore: default tabs

This commit is contained in:
Nathan Walker
2020-07-09 23:46:02 -07:00
parent 8100cf7089
commit 41f0573d8e
353 changed files with 55344 additions and 55344 deletions

View File

@@ -3,13 +3,13 @@ import { StackLayoutBase, orientationProperty } from './stack-layout-common';
export * from './stack-layout-common';
export class StackLayout extends StackLayoutBase {
nativeViewProtected: org.nativescript.widgets.StackLayout;
nativeViewProtected: org.nativescript.widgets.StackLayout;
public createNativeView() {
return new org.nativescript.widgets.StackLayout(this._context);
}
public createNativeView() {
return new org.nativescript.widgets.StackLayout(this._context);
}
[orientationProperty.setNative](value: 'horizontal' | 'vertical') {
this.nativeViewProtected.setOrientation(value === 'vertical' ? org.nativescript.widgets.Orientation.vertical : org.nativescript.widgets.Orientation.horizontal);
}
[orientationProperty.setNative](value: 'horizontal' | 'vertical') {
this.nativeViewProtected.setOrientation(value === 'vertical' ? org.nativescript.widgets.Orientation.vertical : org.nativescript.widgets.Orientation.horizontal);
}
}