Files
NativeScript/tns-core-modules/ui/layouts/stack-layout/stack-layout.d.ts
Hristo Deshev 629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00

18 lines
588 B
TypeScript

import { LayoutBase, Property } from "../layout-base";
/**
* A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property.
*/
export class StackLayout extends LayoutBase {
/**
* Gets or sets if layout should be horizontal or vertical.
* The default value is vertical.
*/
orientation: "horizontal" | "vertical";
}
/**
* Represents the observable property backing the orientation property of each StackLayout instance.
*/
export const orientationProperty: Property<StackLayout, "horizontal" | "vertical">;