Skip to main content

SetControl<T>

Extends

Type Parameters

Type ParameterDefault type
T extends stringstring

Constructors

Constructor

new SetControl<T>(options): SetControl<T>;

Parameters

ParameterType
optionsSetControlOptions

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
ParameterType
valueValue
Returns

void

Inherited from

AbstractValueControl.value

Methods

getSelectedOption()

getSelectedOption(): SetControlOption<T>;

Returns

SetControlOption<T>


representAsBtn()

representAsBtn(): Btn;

Returns

Btn

Overrides

AbstractValueControl.representAsBtn


representAsComboBoxItems()

representAsComboBoxItems(options?): ComboBoxItem[];

Parameters

ParameterType
optionsRepresentAsComboBoxItemsEvent

Returns

ComboBoxItem[]

Overrides

AbstractValueControl.representAsComboBoxItems


representAsControl()

representAsControl(): Element;

Returns

Element

Overrides

AbstractValueControl.representAsControl


select()

select(event): void;

Parameters

ParameterType
eventMousePosition

Returns

void


updateOptions()

updateOptions(options): void;

Parameters

ParameterType
optionsPartial<Omit<Options, "initialValue">>

Returns

void

Inherited from

AbstractValueControl.updateOptions