---
id: fast-foundation.listboxoption._constructor_
title: ListboxOption.(constructor)
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [ListboxOption](./fast-foundation.listboxoption.md) &gt; [(constructor)](./fast-foundation.listboxoption._constructor_.md)

## ListboxOption.(constructor)

Constructs a new instance of the `ListboxOption` class

<b>Signature:</b>

```typescript
constructor(text?: string, value?: string, defaultSelected?: boolean, selected?: boolean);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  text | string |  |
|  value | string |  |
|  defaultSelected | boolean |  |
|  selected | boolean |  |
