Interface: UIToggleOptions
Defined in: src/ui/components/UIToggle.ts:7
Extends
Properties
ariaLabel
ariaLabel:
string
Defined in: src/ui/components/UIToggle.ts:8
checked?
optionalchecked:boolean
Defined in: src/ui/components/UIToggle.ts:9
children?
optionalchildren:Object3D<Object3DEventMap>[]
Defined in: src/ui/UIElement.ts:100
Inherited from
disabled?
optionaldisabled:boolean
Defined in: src/ui/components/UIToggle.ts:10
interactionEnabled?
optionalinteractionEnabled:boolean
Defined in: src/ui/UIElement.ts:103
Inherited from
UIElementOptions.interactionEnabled
onChange()?
optionalonChange: (checked) =>void
Defined in: src/ui/components/UIToggle.ts:11
Parameters
checked
boolean
Returns
void
pointerEvents?
optionalpointerEvents:PointerEvents
Defined in: src/ui/UIElement.ts:102
Inherited from
UIElementOptions.pointerEvents
reticleMode?
optionalreticleMode:ReticleMode
Defined in: src/ui/UIElement.ts:104
Inherited from
style?
optionalstyle:UIStyle
Defined in: src/ui/UIElement.ts:99
Inherited from
visible?
optionalvisible:boolean
Defined in: src/ui/UIElement.ts:101