Interface: UIDropdownOptions
Defined in: src/ui/components/UIDropdown.ts:15
Extends
Omit<UIElementOptions,"children">
Properties
ariaLabel
ariaLabel:
string
Defined in: src/ui/components/UIDropdown.ts:16
disabled?
optionaldisabled:boolean
Defined in: src/ui/components/UIDropdown.ts:21
interactionEnabled?
optionalinteractionEnabled:boolean
Defined in: src/ui/UIElement.ts:103
Inherited from
UIElementOptions.interactionEnabled
onChange()?
optionalonChange: (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?
optionalplaceholder:string
Defined in: src/ui/components/UIDropdown.ts:20
Shown on the closed dropdown while value is undefined.
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
value?
optionalvalue:string
Defined in: src/ui/components/UIDropdown.ts:18
visible?
optionalvisible:boolean
Defined in: src/ui/UIElement.ts:101