Skip to main content

BooleanInput

Extends

Constructors

Constructor

new BooleanInput(options): BooleanInput;

Parameters

ParameterType
optionsBooleanInputOptions

Returns

BooleanInput

Overrides

ControlInput<
{
OPTIONS: BooleanInputOptions;
} & ControlInputGenerics<boolean>
>.constructor

Properties

PropertyModifierTypeInherited from
controlpublicAbstractValueControl<boolean>ControlInput.control
optionspublicBooleanInputOptions & FormInputOptions<any>ControlInput.options
valuepublicbooleanControlInput.value

Accessors

error

Get Signature

get error(): string;
Returns

string

Inherited from

ControlInput.error

label

Get Signature

get label(): string;
Returns

string

Inherited from

ControlInput.label

name

Get Signature

get name(): string;
Returns

string

Inherited from

ControlInput.name

placeholder

Get Signature

get placeholder(): string;
Returns

string

Inherited from

ControlInput.placeholder

valid

Get Signature

get valid(): boolean;
Returns

boolean

Inherited from

ControlInput.valid

visible

Get Signature

get visible(): boolean;
Returns

boolean

Inherited from

ControlInput.visible

Methods

dispose()

dispose(): void;

Returns

void

Inherited from

ControlInput.dispose

isValid()

isValid(): boolean;

Whether this field is valid. Hidden fields do not block the form.

Returns

boolean

Inherited from

ControlInput.isValid

remove()

remove(): void;

Returns

void

Inherited from

ControlInput.remove

renderControl()

renderControl(options): Element;

Parameters

ParameterType
optionsFormInputRenderOptions

Returns

Element

Inherited from

ControlInput.renderControl

renderInputWidget()

renderInputWidget(options): Element;

Parameters

ParameterType
optionsFormInputRenderOptions

Returns

Element

Overrides

ControlInput.renderInputWidget

setValue()

setValue(value): void;

Parameters

ParameterType
valueboolean

Returns

void

Inherited from

ControlInput.setValue

update()

update(options): void;

Parameters

ParameterType
optionsPartial<Omit<T["OPTIONS"], "name" | "value">>

Returns

void

Inherited from

ControlInput.update

validate()

validate(): void;

Returns

void

Inherited from

ControlInput.validate