Skip to main content

BooleanControl

Extends

Constructors

Constructor

new BooleanControl(options): BooleanControl;

Parameters

ParameterType
optionsAbstractValueControlOptions

Returns

BooleanControl

Inherited from

AbstractValueControl.constructor

Accessors

value

Get Signature

get value(): Value;
Returns

Value

Set Signature

set value(value): void;
Parameters
ParameterType
valueValue
Returns

void

Inherited from

AbstractValueControl.value

Methods

representAsBtn()

representAsBtn(): Btn;

Returns

Btn

Overrides

AbstractValueControl.representAsBtn


representAsCheckbox()

representAsCheckbox(options?): Element;

Parameters

ParameterType
optionsRepresentAsCheckboxOptions

Returns

Element


representAsComboBoxItems()

representAsComboBoxItems(event?): ComboBoxItem[];

Parameters

ParameterType
eventRepresentAsComboBoxItemsEvent

Returns

ComboBoxItem[]

Overrides

AbstractValueControl.representAsComboBoxItems


representAsControl()

representAsControl(): Element;

Returns

Element

Overrides

AbstractValueControl.representAsControl


toggle()

toggle(): void;

Returns

void


updateOptions()

updateOptions(options): void;

Parameters

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

Returns

void

Inherited from

AbstractValueControl.updateOptions