Skip to content

ValueComponent

Extends

Extended by

Type Parameters

T

Constructors

new ValueComponent()

new ValueComponent<T>(): ValueComponent<T>

Returns

ValueComponent<T>

Inherited from

BaseComponent.constructor

Properties

disabled

disabled: boolean

Inherited from

BaseComponent.disabled

Methods

getValue()

abstract getValue(): T

Returns

T


registerOptionListener()

registerOptionListener(listeners, key): this

Parameters

listeners: Record<string, (value?) => T>

key: string

Returns

this


setDisabled()

setDisabled(disabled): this

Parameters

disabled: boolean

Returns

this

Inherited from

BaseComponent.setDisabled


setValue()

abstract setValue(value): this

Parameters

value: T

Returns

this


then()

then(cb): this

Facilitates chaining

Parameters

cb

Returns

this

Inherited from

BaseComponent.then