UNPKG

@alilc/lowcode-editor-skeleton

Version:

alibaba lowcode editor skeleton

34 lines (33 loc) 906 B
import { ReactNode } from 'react'; import { DockConfig } from '../types'; import { ISkeleton } from '../skeleton'; import { IWidget } from './widget'; /** * 带图标(主要)/标题(次要)的扩展 */ export declare class Dock implements IWidget { readonly skeleton: ISkeleton; readonly config: DockConfig; readonly isWidget = true; readonly id: string; readonly name: string; readonly align?: string; private _visible; get visible(): boolean; private _disabled; get content(): ReactNode; private inited; private _body; get body(): ReactNode; constructor(skeleton: ISkeleton, config: DockConfig); setVisible(flag: boolean): void; private setDisabled; disable(): void; enable(): void; get disabled(): boolean; getContent(): ReactNode; getName(): string; hide(): void; show(): void; toggle(): void; }