ICustomWidget

组件实例

关系

Extends

ICustomWidget Extends IPlugin

继承: IPlugin

属性

container

容器元素

container?: HTMLElement

类型: HTMLElement

icon

插件icon

icon?: string

类型: string

id

插件的唯一标识符

id: string | number

类型: string | number

label

插件label

label?: string

类型: string

model

插件的业务逻辑处理模型

model?: IPluginModel

类型: IPluginModel

name

组件名称

name: string

类型: string

props

组件属性

props?: CustomProps

类型: CustomProps

scene

所属场景

scene: IScene

类型: IScene

selectable

是否可选择

selectable: boolean

类型: boolean

view

插件的用户界面视图

view?: IPluginView

类型: IPluginView

方法

close

close?(): void

返回:void

destroy

销毁插件,释放资源

destroy(): void

返回:void

install

插件的安装加载逻辑,在插件管理器注册时调用

install(scene): void

参数

返回:void

toggle

toggle?(): void

返回:void

BIMFlux AI