Customize Watermark text

The watermark text specifies a short hint that describes the expected value of the input field. This can be achieved by using the “data-ej-watermarktext” attribute.

Refer to the following code example.

  • html
  • <textarea id="textarea" data-role="ejmtextarea" data-ej-watermarktext="TextArea" ></textarea>

    The following screenshot displays the customization of the text with Watermarktext Property.