Skip to main content

Interface: UIDropdownOptions

Defined in: src/ui/components/UIDropdown.ts:15

Extends​

Properties​

ariaLabel​

ariaLabel: string

Defined in: src/ui/components/UIDropdown.ts:16


disabled?​

optional disabled: boolean

Defined in: src/ui/components/UIDropdown.ts:21


interactionEnabled?​

optional interactionEnabled: boolean

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

Inherited from​

UIElementOptions.interactionEnabled


onChange()?​

optional onChange: (value) => void

Defined in: src/ui/components/UIDropdown.ts:22

Parameters​

value​

string

Returns​

void


options​

options: readonly object[]

Defined in: src/ui/components/UIDropdown.ts:17


placeholder?​

optional placeholder: string

Defined in: src/ui/components/UIDropdown.ts:20

Shown on the closed dropdown while value is undefined.


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


value?​

optional value: string

Defined in: src/ui/components/UIDropdown.ts:18


visible?​

optional visible: boolean

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

Inherited from​

UIElementOptions.visible