@leafer-ui/interface
Version:
@leafer-ui/interface
22 lines (18 loc) • 547 B
text/typescript
import { IControl, ILeaferAttrData, ILeaferType } from '@leafer/interface'
import { IApp } from './IApp'
import { IGroup } from '../IUI'
import { IEditorBase } from '../editor/IEditor'
export interface ILeafer extends IGroup, ILeaferAttrData, IControl {
readonly isApp: boolean
readonly app: ILeafer
parentApp?: IApp
parent?: IApp
zoomLayer: IGroup
editor: IEditorBase
ground?: ILeafer
tree?: ILeafer
sky?: ILeafer
onInit(): void
initType(type: ILeaferType): void
destroy(sync?: boolean): void
}