mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
GridLayout now calls virtual methods when rows/columns are set through XML.
Added test. Improved code readability.
This commit is contained in:
9
ui/layouts/stack-layout/stack-layout.d.ts
vendored
9
ui/layouts/stack-layout/stack-layout.d.ts
vendored
@@ -1,16 +1,15 @@
|
||||
declare module "ui/layouts/stack-layout" {
|
||||
import layout = require("ui/layouts/layout-base");
|
||||
import dependencyObservable = require("ui/core/dependency-observable");
|
||||
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 layout.LayoutBase {
|
||||
|
||||
class StackLayout extends LayoutBase {
|
||||
/**
|
||||
* Represents the observable property backing the orientation property of each StackLayout instance.
|
||||
*/
|
||||
public static orientationProperty: dependencyObservable.Property;
|
||||
public static orientationProperty: Property;
|
||||
|
||||
/**
|
||||
* Gets or sets if layout should be horizontal or vertical.
|
||||
|
||||
Reference in New Issue
Block a user