Files
NativeScript/ui/layouts/stack-layout/stack-layout.d.ts
2015-08-03 13:48:41 +03:00

21 lines
744 B
TypeScript

declare module "ui/layouts/stack-layout" {
import layout = require("ui/layouts/layout-base");
import dependencyObservable = require("ui/core/dependency-observable");
/**
* A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property.
*/
class StackLayout extends layout.LayoutBase {
/**
* Represents the observable property backing the orientation property of each StackLayout instance.
*/
public static orientationProperty: dependencyObservable.Property;
/**
* Gets or sets if layout should be horizontal or vertical.
* The default value is vertical.
*/
orientation: string;
}
}