Properties
addControl
addControl: ((control,
position?) => App) Type declaration
- (control, position?): App
Returns App
getConfigPane
getConfigPane: ((opts?) => Promise<{
appendChild: ((config?, params?) => any);
configPane: any;
element: HTMLElement;
isInit: boolean;
isVisible: (() => boolean);
renderUiConfig: ((uiConfig) => void);
renderUiObject: ((uiConfig, parent?) => any);
reset: (() => void);
rootPane: any;
setVisible: ((b) => void);
}>)
Type declaration
- (opts?): Promise<{
appendChild: ((config?, params?) => any);
configPane: any;
element: HTMLElement;
isInit: boolean;
isVisible: (() => boolean);
renderUiConfig: ((uiConfig) => void);
renderUiObject: ((uiConfig, parent?) => any);
reset: (() => void);
rootPane: any;
setVisible: ((b) => void);
}> Parameters
Optional
opts: {
isReset?: boolean;
style?: Partial<CSSStyleDeclaration>;
title?: string;
}
Optional
isReset?: boolean
Optional
style?: Partial<CSSStyleDeclaration>
Optional
title?: string
Returns Promise<{
appendChild: ((config?, params?) => any);
configPane: any;
element: HTMLElement;
isInit: boolean;
isVisible: (() => boolean);
renderUiConfig: ((uiConfig) => void);
renderUiObject: ((uiConfig, parent?) => any);
reset: (() => void);
rootPane: any;
setVisible: ((b) => void);
}>
hasControl
hasControl: ((control) => void)
Type declaration
- (control): void
Returns void
logInfo
logInfo: ((text, type?, time?) => void)
Type declaration
- (text, type?, time?): void
Parameters
text: string
Optional
type: number | logInfoType
Optional
time: number
Returns void
removeControl
removeControl: ((control) => App) setCursor
setCursor: ((cur) => void)
增加控件 (会调用
control.onAdd(this)
).