autofocus property

bool get autofocus

Implementation

bool get autofocus => hasAttribute('autofocus');
set autofocus (bool value)

Implementation

set autofocus(bool value) {
  if (value) {
    internalSetAttribute('autofocus', '');
  } else {
    removeAttribute('autofocus');
  }
}