IToolProps
激活图标颜色
关系
Extends
IToolProps Extends CustomProps
继承: CustomProps
属性
activeIconColor
激活图标颜色
activeIconColor?: string
类型: string
activeStyle
激活样式
activeStyle?: string
类型: string
changeIcon
切换后的图标
changeIcon?: string
类型: string
changeLabel
切换后的标签
changeLabel?: string
类型: string
container
容器元素
container?: string | HTMLElement
类型: string | HTMLElement
defaultIconColor
默认图标颜色
defaultIconColor?: string
类型: string
defaultStyle
默认样式
defaultStyle?: string
类型: string
icon
图标
icon?: string
类型: string
id
唯一标识
id?: string
类型: string
index
索引
index?: number
类型: number
label
标签文本
label?: string
类型: string
name
组件名称
name?: string
类型: string
onInit
初始化回调
onInit?: (
类型: (
scene
所属场景
scene: IScene
类型: IScene
selectable
是否可选择
selectable?: boolean
类型: boolean
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

BIMFlux AI
