Files
NativeScript/ui/layouts/stack-layout/stack-layout.d.ts
Hristo Hristov 68cdff85bd GridLayout now calls virtual methods when rows/columns are set through XML.
Added test.
Improved code readability.
2016-01-21 13:55:32 +02:00

20 lines
699 B
TypeScript

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