Skip to content

TextAreaComponent

Extends

Constructors

new TextAreaComponent()

new TextAreaComponent(containerEl): TextAreaComponent

Parameters

containerEl: HTMLElement

Returns

TextAreaComponent

Overrides

AbstractTextComponent.constructor

Properties

disabled

disabled: boolean

Inherited from

AbstractTextComponent.disabled


inputEl

inputEl: HTMLTextAreaElement

Inherited from

AbstractTextComponent.inputEl

Methods

getValue()

getValue(): string

Returns

string

Inherited from

AbstractTextComponent.getValue


onChange()

onChange(callback): this

Parameters

callback

Returns

this

Inherited from

AbstractTextComponent.onChange


onChanged()

onChanged(): void

Returns

void

Inherited from

AbstractTextComponent.onChanged


registerOptionListener()

registerOptionListener(listeners, key): this

Parameters

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

key: string

Returns

this

Inherited from

AbstractTextComponent.registerOptionListener


setDisabled()

setDisabled(disabled): this

Parameters

disabled: boolean

Returns

this

Inherited from

AbstractTextComponent.setDisabled


setPlaceholder()

setPlaceholder(placeholder): this

Parameters

placeholder: string

Returns

this

Inherited from

AbstractTextComponent.setPlaceholder


setValue()

setValue(value): this

Parameters

value: string

Returns

this

Inherited from

AbstractTextComponent.setValue


then()

then(cb): this

Facilitates chaining

Parameters

cb

Returns

this

Inherited from

AbstractTextComponent.then