mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
/**
|
||||
* @module "ui/layouts/absolute-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, View, Property, Length } from "../layout-base";
|
||||
import { LayoutBase } from "../layout-base";
|
||||
import { Property } from "../../core/properties";
|
||||
import { View } from '../../core/view';
|
||||
import { Length } from '../../styling/style-properties';
|
||||
|
||||
/**
|
||||
* A layout that lets you specify exact locations (left/top coordinates) of its children.
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
/**
|
||||
* @module "ui/layouts/dock-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, View, Property } from "../layout-base";
|
||||
import { LayoutBase } from "../layout-base";
|
||||
import { Property } from "../../core/properties";
|
||||
import { View } from '../../core/view';
|
||||
|
||||
/**
|
||||
* A Layout that arranges its children at its outer edges, and allows its last child to take up the remaining space.
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
/**
|
||||
* @module "ui/layouts/flexbox-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, View, Style, CssProperty } from "../layout-base";
|
||||
import { LayoutBase } from "../layout-base";
|
||||
import { Style } from '../../styling/style';
|
||||
import { CssProperty } from "../../core/properties";
|
||||
import { View } from '../../core/view';
|
||||
|
||||
export type FlexDirection = "row" | "row-reverse" | "column" | "column-reverse";
|
||||
export type FlexWrap = "nowrap" | "wrap" | "wrap-reverse";
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
/**
|
||||
* @module "ui/layouts/grid-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, Property, View } from "../layout-base";
|
||||
import { LayoutBase } from "../layout-base";
|
||||
import { View } from '../../core/view';
|
||||
import { Property } from "../../core/properties";
|
||||
|
||||
/**
|
||||
* Defines row/column specific properties that apply to GridLayout elements.
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { LayoutBase as LayoutBaseDefinition } from "./layout-base";
|
||||
import { View, CustomLayoutView, Property, AddChildFromBuilder, getViewById, Length, booleanConverter } from "../core/view";
|
||||
|
||||
export * from "../core/view";
|
||||
import { View, CustomLayoutView, AddChildFromBuilder, } from "../core/view";
|
||||
import { booleanConverter, getViewById } from "../core/view-base";
|
||||
import { Property } from "../core/properties";
|
||||
import { Length } from "../styling/style-properties";
|
||||
|
||||
export class LayoutBaseCommon extends CustomLayoutView implements LayoutBaseDefinition, AddChildFromBuilder {
|
||||
|
||||
|
||||
10
nativescript-core/ui/layouts/layout-base.d.ts
vendored
10
nativescript-core/ui/layouts/layout-base.d.ts
vendored
@@ -1,10 +1,6 @@
|
||||
/**
|
||||
* @module "ui/layouts/layout-base"
|
||||
*/ /** */
|
||||
|
||||
import { View, CustomLayoutView, Property, Length } from "../core/view";
|
||||
|
||||
export * from "../core/view";
|
||||
import { View, CustomLayoutView } from "../core/view";
|
||||
import { Property } from "../core/properties";
|
||||
import { Length } from "../styling/style-properties";
|
||||
|
||||
/**
|
||||
* Base class for all views that supports children positioning.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
/**
|
||||
* @module "ui/layouts/stack-layout"
|
||||
*/ /** */
|
||||
import { LayoutBase, Property } from "../layout-base";
|
||||
import { LayoutBase } from "../layout-base";
|
||||
import { Property } from "../../core/properties";
|
||||
|
||||
/**
|
||||
* A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property.
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
/**
|
||||
* @module "ui/layouts/wrap-layout"
|
||||
*/ /** */
|
||||
|
||||
import { LayoutBase, Property, Length } from "../layout-base";
|
||||
import { LayoutBase } from "../layout-base";
|
||||
import { Length } from '../../styling/style-properties';
|
||||
import { Property } from "../../core/properties";
|
||||
|
||||
/**
|
||||
* WrapLayout position children in rows or columns depending on orientation property
|
||||
|
||||
Reference in New Issue
Block a user