@microsoft/fast-foundation > ListboxElement
ListboxElement class
A Listbox Custom HTML Element. Implements the ARIA listbox.
Signature:export declare class ListboxElement extends Listbox
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
multiple | boolean | Indicates if the listbox is in multi-selection mode. | |
size | number | The maximum number of options to display. |
Methods
Method | Modifiers | Description |
---|---|---|
setSelectedOptions() | Sets an option as selected and gives it focus. |