AbstractTextComponent
Extends
ValueComponent
<string
>
Extended by
Type Parameters
• T extends HTMLInputElement
| HTMLTextAreaElement
Constructors
new AbstractTextComponent()
new AbstractTextComponent<
T
>(inputEl
):AbstractTextComponent
<T
>
Parameters
• inputEl: T
Returns
Overrides
Properties
disabled
disabled:
boolean
Inherited from
inputEl
inputEl:
T
Methods
getValue()
getValue():
string
Returns
string
Overrides
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
setPlaceholder()
setPlaceholder(
placeholder
):this
Parameters
• placeholder: string
Returns
this
setValue()
setValue(
value
):this
Parameters
• value: string
Returns
this
Overrides
then()
then(
cb
):this
Facilitates chaining
Parameters
• cb
Returns
this