mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Add module names for the typedoc, make it work
Mark members with @private for typedoc.
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import { LayoutBase, View, Property, Length } from "../layout-base";
|
||||
/**
|
||||
* @module "ui/layouts/absolute-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, View, Property, Length } from "../layout-base";
|
||||
|
||||
/**
|
||||
* A layout that lets you specify exact locations (left/top coordinates) of its children.
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
import { LayoutBase, View, Property } from "../layout-base";
|
||||
/**
|
||||
* @module "ui/layouts/dock-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, View, Property } from "../layout-base";
|
||||
|
||||
/**
|
||||
* A Layout that arranges its children at its outer edges, and allows its last child to take up the remaining space.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @module "ui/layouts/flexbox-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, View, Style, CssProperty } from "../layout-base";
|
||||
|
||||
export type FlexDirection = "row" | "row-reverse" | "column" | "column-reverse";
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
import { LayoutBase, Property, View } from "../layout-base";
|
||||
/**
|
||||
* @module "ui/layouts/grid-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, Property, View } from "../layout-base";
|
||||
|
||||
/**
|
||||
* Defines row/column specific properties that apply to GridLayout elements.
|
||||
@@ -128,9 +132,21 @@ export class GridLayout extends LayoutBase {
|
||||
public getRows(): Array<ItemSpec>;
|
||||
|
||||
//@private
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
public _onRowAdded(itemSpec: ItemSpec): void;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
public _onColumnAdded(itemSpec: ItemSpec): void;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
public _onRowRemoved(itemSpec: ItemSpec, index: number): void;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
public _onColumnRemoved(itemSpec: ItemSpec, index: number): void;
|
||||
//@endprivate
|
||||
}
|
||||
|
||||
6
tns-core-modules/ui/layouts/layout-base.d.ts
vendored
6
tns-core-modules/ui/layouts/layout-base.d.ts
vendored
@@ -1,4 +1,8 @@
|
||||
import { View, CustomLayoutView, Property, Length } from "../core/view";
|
||||
/**
|
||||
* @module "ui/layouts/layout-base"
|
||||
*/ /** */
|
||||
|
||||
import { View, CustomLayoutView, Property, Length } from "../core/view";
|
||||
|
||||
export * from "../core/view";
|
||||
|
||||
|
||||
6
tns-core-modules/ui/layouts/layout.d.ts
vendored
6
tns-core-modules/ui/layouts/layout.d.ts
vendored
@@ -1,4 +1,8 @@
|
||||
import { LayoutBase } from "./layout-base";
|
||||
/**
|
||||
* @module "ui/layouts/layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase } from "./layout-base";
|
||||
|
||||
/**
|
||||
* Base class for all views that supports children positioning in cross platform manner.
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
import { LayoutBase, Property } from "../layout-base";
|
||||
/**
|
||||
* @module "ui/layouts/stack-layout"
|
||||
*/ /** */
|
||||
import { LayoutBase, Property } from "../layout-base";
|
||||
|
||||
/**
|
||||
* A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property.
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
import { LayoutBase, Property, Length } from "../layout-base";
|
||||
/**
|
||||
* @module "ui/layouts/wrap-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, Property, Length } from "../layout-base";
|
||||
|
||||
/**
|
||||
* WrapLayout position children in rows or columns depending on orientation property
|
||||
|
||||
Reference in New Issue
Block a user