DropdownComponent
Extends ValueComponent<string>
#
Constructorconstructor(containerEl: HTMLElement);
#
Properties#
selectElselectEl: HTMLSelectElement
#
Methods#
setDisabledsetDisabled(disabled: boolean): this;
#
addOptionaddOption(value: string, display: string): this;
#
addOptionsaddOptions(options: Record<string, string>): this;
#
getValuegetValue(): string;
#
setValuesetValue(value: string): this;
#
onChangeonChange(callback: (value: string) => any): this;