Skip to content

TypedDropdownComponent.addOption method

TypedDropdownComponent › addOption

Adds an option to the dropdown.

Signature:

addOption(value: T, display: string): this

Parameters:

ParameterTypeDescription
valueTThe value of the option.
displaystringThe display text of the option.

Returns: thisThe component.