blur method

  1. @override
void blur()
override

Moves the focus to the viewport. Use of this method is discouraged; if you want to focus the viewport, call the focus() method on the Document's document element. https://html.spec.whatwg.org/multipage/interaction.html#dom-blur

Implementation

@override
void blur() {
  if (ownerDocument.focusedElement == this) {
    ownerDocument.focusedElement = null;

    blurTextFormControl();
  }
}