CustomProps
切换后的图标
关系
Extends
CustomProps Extends WidgetProps
继承: WidgetProps
属性
changeIcon
切换后的图标
changeIcon?: string
类型: string
changeLabel
切换后的标签
changeLabel?: string
类型: string
container
容器元素
container?: string | HTMLElement
类型: string | HTMLElement
icon
图标
icon?: string
类型: string
id
唯一标识
id?: string
类型: string
index
索引
index?: number
类型: number
label
标签文本
label?: string
类型: string
name
组件名称
name?: string
类型: string
scene
所属场景
scene: IScene
类型: IScene
selectType
选择类型
selectType?: "immediate-disappear" | "keep-on"
类型: "immediate-disappear" | "keep-on"
size
尺寸
size?: string | number
类型: string | number
text
显示文本
text?: string
类型: string
view
场景视图
view?: ISceneView
类型: ISceneView
visible
是否可见
visible?: boolean
类型: boolean
方法
onClick
onClick?(index?): void
参数
- index?:
number索引
返回:void
onInit
onInit?(): void
返回:void

BIMFlux AI
