SetControl<T>
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends string | string |
Constructors
Constructor
new SetControl<T>(options): SetControl<T>;
Parameters
| Parameter | Type |
|---|---|
options | SetControlOptions |
Returns
SetControl<T>
Inherited from
AbstractValueControl.constructor
Accessors
comboBoxStore
disabled
Get Signature
get disabled(): boolean;
Returns
boolean
hasOptions
Get Signature
get hasOptions(): boolean;
Returns
boolean
themeStore
tooltip
Get Signature
get tooltip(): string;
Returns
string
value
Get Signature
get value(): Value;
Returns
Value
Set Signature
set value(value): void;
Parameters
| Parameter | Type |
|---|---|
value | Value |
Returns
void
Inherited from
Methods
getSelectedOption()
getSelectedOption(): SetControlOption<T>;
Returns
representAsBtn()
representAsBtn(): Btn;
Returns
Overrides
AbstractValueControl.representAsBtn
representAsComboBoxItems()
representAsComboBoxItems(options?): ComboBoxItem[];
Parameters
| Parameter | Type |
|---|---|
options | RepresentAsComboBoxItemsEvent |
Returns
Overrides
AbstractValueControl.representAsComboBoxItems
representAsControl()
representAsControl(): Element;
Returns
Element
Overrides
AbstractValueControl.representAsControl
select()
select(event): void;
Parameters
| Parameter | Type |
|---|---|
event | MousePosition |
Returns
void
updateOptions()
updateOptions(options): void;
Parameters
| Parameter | Type |
|---|---|
options | Partial<Omit<Options, "initialValue">> |
Returns
void