mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: default tabs
This commit is contained in:
@@ -6,7 +6,7 @@ import { isIOS } from '../../../platform';
|
||||
|
||||
@CSSType('StackLayout')
|
||||
export class StackLayoutBase extends LayoutBase implements StackLayoutDefinition {
|
||||
public orientation: Orientation;
|
||||
public orientation: Orientation;
|
||||
}
|
||||
|
||||
StackLayoutBase.prototype.recycleNativeView = 'auto';
|
||||
@@ -14,9 +14,9 @@ StackLayoutBase.prototype.recycleNativeView = 'auto';
|
||||
const converter = makeParser<Orientation>(makeValidator('horizontal', 'vertical'));
|
||||
|
||||
export const orientationProperty = new Property<StackLayoutBase, Orientation>({
|
||||
name: 'orientation',
|
||||
defaultValue: 'vertical',
|
||||
affectsLayout: isIOS,
|
||||
valueConverter: converter,
|
||||
name: 'orientation',
|
||||
defaultValue: 'vertical',
|
||||
affectsLayout: isIOS,
|
||||
valueConverter: converter,
|
||||
});
|
||||
orientationProperty.register(StackLayoutBase);
|
||||
|
||||
Reference in New Issue
Block a user