IDesignPortal interface
组件树操作契约。
Signature
typescript
export interface IDesignPortal<T extends keyof ComponentPropsMap = keyof ComponentPropsMap>1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(handle: string, type: T, props: ComponentPropsMap[T], eventDispatcher: (ev: any) => void, parent?: string) => void | |||
(handle: string) => void | |||
(handle: string, type: T, props: ComponentPropsMap[T], eventDispatcher: (ev: any) => void) => void |