---
id: fast-foundation.listboxelement
title: ListboxElement class
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [ListboxElement](./fast-foundation.listboxelement.md)

## ListboxElement class

A Listbox Custom HTML Element. Implements the [ARIA listbox](https://w3c.github.io/aria/#listbox)<!-- -->.

<b>Signature:</b>

```typescript
export declare class ListboxElement extends Listbox 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [multiple](./fast-foundation.listboxelement.multiple.md) |  | boolean | Indicates if the listbox is in multi-selection mode. |
|  [size](./fast-foundation.listboxelement.size.md) |  | number | The maximum number of options to display. |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [setSelectedOptions()](./fast-foundation.listboxelement.setselectedoptions.md) |  | Sets an option as selected and gives it focus. |
