Skip to main content

Interface: UIToggleOptions

Defined in: src/ui/components/UIToggle.ts:7

Extends​

Properties​

ariaLabel​

ariaLabel: string

Defined in: src/ui/components/UIToggle.ts:8


checked?​

optional checked: boolean

Defined in: src/ui/components/UIToggle.ts:9


children?​

optional children: Object3D<Object3DEventMap>[]

Defined in: src/ui/UIElement.ts:100

Inherited from​

UIElementOptions.children


disabled?​

optional disabled: boolean

Defined in: src/ui/components/UIToggle.ts:10


interactionEnabled?​

optional interactionEnabled: boolean

Defined in: src/ui/UIElement.ts:103

Inherited from​

UIElementOptions.interactionEnabled


onChange()?​

optional onChange: (checked) => void

Defined in: src/ui/components/UIToggle.ts:11

Parameters​

checked​

boolean

Returns​

void


pointerEvents?​

optional pointerEvents: PointerEvents

Defined in: src/ui/UIElement.ts:102

Inherited from​

UIElementOptions.pointerEvents


reticleMode?​

optional reticleMode: ReticleMode

Defined in: src/ui/UIElement.ts:104

Inherited from​

UIElementOptions.reticleMode


style?​

optional style: UIStyle

Defined in: src/ui/UIElement.ts:99

Inherited from​

UIElementOptions.style


visible?​

optional visible: boolean

Defined in: src/ui/UIElement.ts:101

Inherited from​

UIElementOptions.visible