Interface: CreateDropdownRequiredOptions
Defined in: ui/utilities/create-dropdown.ts:27
Fields of CreateDropdownOptions with no sensible default; callers must always provide these.
Properties
fontAtlas
fontAtlas:
FontAtlas
Defined in: ui/utilities/create-dropdown.ts:38
The loaded font atlas the header and option labels are drawn from.
headerSprite
headerSprite:
SpriteEcsComponent
Defined in: ui/utilities/create-dropdown.ts:29
The sprite to draw the header (the always-visible, currently-selected-option control) with.
options
options: readonly
string[]
Defined in: ui/utilities/create-dropdown.ts:35
The dropdown's option labels, in display order. Must be non-empty.
optionSprite
optionSprite:
SpriteEcsComponent
Defined in: ui/utilities/create-dropdown.ts:32
The sprite to draw each option row with.