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

31 lines
901 B
TypeScript

declare module "ui/layouts/absolute-layout" {
import layout = require("ui/layouts/layout");
import view = require("ui/core/view");
/**
* A layout that lets you specify exact locations (left/top coordinates) of its children.
*/
class AbsoluteLayout extends layout.Layout {
/**
* Gets the value of the Left property from a given View.
*/
static getLeft(view: view.View): number;
/**
* Sets the value of the Left property from a given View.
*/
static setLeft(view: view.View, value: number): void;
/**
* Gets the value of the Top property from a given View.
*/
static getTop(view: view.View): number;
/**
* Sets the value of the Top property from a given View.
*/
static setTop(view: view.View, value: number): void;
}
}