placeholder property

String get placeholder

Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.

MDN Reference

Implementation

_i2.String get placeholder => _i4.getProperty(
      this,
      'placeholder',
    );
set placeholder (String value)

Implementation

set placeholder(_i2.String value) {
  _i4.setProperty(
    this,
    'placeholder',
    value,
  );
}