autofocus property

bool autofocus
final

This attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified.

Implementation

final bool autofocus;