Skip to main content

Interface: UIButtonOptions

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

Extends​

Properties​

ariaLabel?​

optional ariaLabel: string

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


children?​

optional children: Object3D<Object3DEventMap>[]

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

Inherited from​

UIElementOptions.children


disabled?​

optional disabled: boolean

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


icon?​

optional icon: string

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


interactionEnabled?​

optional interactionEnabled: boolean

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

Inherited from​

UIElementOptions.interactionEnabled


label?​

optional label: string

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


onClick()?​

optional onClick: () => void

Defined in: src/ui/components/UIButton.ts:12

Returns​

void


pointerEvents?​

optional pointerEvents: PointerEvents

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

Inherited from​

UIElementOptions.pointerEvents


reticleMode?​

optional reticleMode: ReticleMode

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

Inherited from​

UIElementOptions.reticleMode


style?​

optional style: UIStyle

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

Inherited from​

UIElementOptions.style


visible?​

optional visible: boolean

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

Inherited from​

UIElementOptions.visible