Skip to content

AbstractTextComponent

Extends

Extended by

Type Parameters

T extends HTMLInputElement | HTMLTextAreaElement

Constructors

new AbstractTextComponent()

new AbstractTextComponent<T>(inputEl): AbstractTextComponent<T>

Parameters

inputEl: T

Returns

AbstractTextComponent<T>

Overrides

ValueComponent.constructor

Properties

disabled

disabled: boolean

Inherited from

ValueComponent.disabled


inputEl

inputEl: T

Methods

getValue()

getValue(): string

Returns

string

Overrides

ValueComponent.getValue


onChange()

onChange(callback): this

Parameters

callback

Returns

this


onChanged()

onChanged(): void

Returns

void


registerOptionListener()

registerOptionListener(listeners, key): this

Parameters

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

key: string

Returns

this

Inherited from

ValueComponent.registerOptionListener


setDisabled()

setDisabled(disabled): this

Parameters

disabled: boolean

Returns

this

Overrides

ValueComponent.setDisabled


setPlaceholder()

setPlaceholder(placeholder): this

Parameters

placeholder: string

Returns

this


setValue()

setValue(value): this

Parameters

value: string

Returns

this

Overrides

ValueComponent.setValue


then()

then(cb): this

Facilitates chaining

Parameters

cb

Returns

this

Inherited from

ValueComponent.then