Files
NativeScript/ui/layouts/stack-layout/stack-layout.d.ts
2015-03-03 10:34:40 +02:00

21 lines
735 B
TypeScript

declare module "ui/layouts/stack-layout" {
import layout = require("ui/layouts/layout");
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.Layout {
/**
* 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;
}
}