TextComponent
Extends
Extended by
Constructors
new TextComponent()
new TextComponent(
containerEl
):TextComponent
Parameters
• containerEl: HTMLElement
Returns
Overrides
AbstractTextComponent
.constructor
Properties
disabled
disabled:
boolean
Inherited from
AbstractTextComponent
.disabled
inputEl
inputEl:
HTMLInputElement
Inherited from
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