MCPcopy
hub / github.com/alibaba/lowcode-engine / IWidget

Interface IWidget

packages/editor-skeleton/src/widget/widget.ts:10–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import { IPublicTypeTitleContent, IPublicTypeWidgetBaseConfig } from '@alilc/lowcode-types';
9
10export interface IWidget {
11 readonly name: string;
12 readonly content: ReactNode;
13 readonly align?: string;
14 readonly isWidget: true;
15 readonly visible: boolean;
16 readonly disabled?: boolean;
17 readonly body: ReactNode;
18 readonly skeleton: ISkeleton;
19 readonly config: IPublicTypeWidgetBaseConfig;
20
21 getName(): string;
22 getContent(): any;
23 show(): void;
24 hide(): void;
25 toggle(): void;
26 enable?(): void;
27 disable?(): void;
28}
29
30export class Widget implements IWidget {
31 readonly isWidget = true;

Callers 16

createStageMethod · 0.65
getSymbolNameFunction · 0.65
getShapeFromArrayFunction · 0.65
getShapeFunction · 0.65
parseTSFunction · 0.65
renderMethod · 0.65
renderMethod · 0.65
toggleMethod · 0.65
togglePanelMethod · 0.65
enableMethod · 0.65
enableWidgetMethod · 0.65

Implementers 4

Dockpackages/editor-skeleton/src/widget/do
Widgetpackages/editor-skeleton/src/widget/wi
Panelpackages/editor-skeleton/src/widget/pa
PanelDockpackages/editor-skeleton/src/widget/pa

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…