TypedDropdownComponent.addOption method
TypedDropdownComponent › addOption
Adds an option to the dropdown.Signature:
addOption(value: T, display: string): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| value | T | The value of the option. |
| display | string | The display text of the option. |
Returns: this — The component.