Skip to content

AbstractTextComponent.setPlaceholder method

AbstractTextComponent › setPlaceholder

Official

Sets the placeholder of the input element.

Signature:

setPlaceholder(placeholder: string): this

Parameters:

Parameter Type Description
placeholder string

Returns: this

Since: 0.9.7