32 lines
1013 B
TypeScript
32 lines
1013 B
TypeScript
import { Group, IView, View } from "../ui/view";
|
|
import { Gravity } from "../util/gravity";
|
|
export interface IStack extends IView {
|
|
}
|
|
export declare class Stack extends Group implements IStack {
|
|
}
|
|
export declare class Root extends Stack {
|
|
}
|
|
declare class LinearLayout extends Group {
|
|
space?: number;
|
|
gravity?: Gravity;
|
|
}
|
|
export interface IVLayout extends IView {
|
|
space?: number;
|
|
gravity?: Gravity;
|
|
}
|
|
export declare class VLayout extends LinearLayout implements IVLayout {
|
|
}
|
|
export interface IHLayout extends IView {
|
|
space?: number;
|
|
gravity?: Gravity;
|
|
}
|
|
export declare class HLayout extends LinearLayout implements IHLayout {
|
|
}
|
|
export declare function stack(views: View[], config?: IStack): Stack;
|
|
export declare function hlayout(views: View[], config?: IHLayout): HLayout;
|
|
export declare function vlayout(views: View[], config?: IVLayout): VLayout;
|
|
export declare class FlexLayout extends Group {
|
|
}
|
|
export declare function flexlayout(views: View[], config?: IView): FlexLayout;
|
|
export {};
|