Skip to main content
Version: 1.x

@microsoft/fast-foundation > ListboxElement

ListboxElement class

A Listbox Custom HTML Element. Implements the ARIA listbox.

Signature:
export declare class ListboxElement extends Listbox 

Properties

PropertyModifiersTypeDescription
multiplebooleanIndicates if the listbox is in multi-selection mode.
sizenumberThe maximum number of options to display.

Methods

MethodModifiersDescription
setSelectedOptions()Sets an option as selected and gives it focus.