focus method

bool focus()

Implementation

bool focus() {
  final htmlElement = asHTMLElementChecked;
  if (htmlElement != null) {
    htmlElement.focus();
    return true;
  }
  return false;
}