DropdownComponent class
Signature:
export class DropdownComponent extends ValueComponent<string> Extends: ValueComponent<string>
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
(constructor)(containerEl) | Constructs a new instance of the DropdownComponent class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
disabled | boolean | (Inherited from BaseComponent) | |
selectEl | HTMLSelectElement |
Methods
| Method | Modifiers | Description |
|---|---|---|
addOption(value, display) | ||
addOptions(options) | ||
getValue() | ||
onChange(callback) | ||
registerOptionListener(listeners, key) | (Inherited from ValueComponent) | |
setDisabled(disabled) | ||
setValue(value) | ||
then(cb) | Facilitates chaining (Inherited from BaseComponent) |