{{ APIRef('HTML DOM') }}
Summary
Shifts focus away from the window.
Syntax
window.blur()
Example
window.blur();
Notes
The window.blur() method is the programmatic equivalent of the user shifting focus away from the current window.
Specification
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML WHATWG','interaction.html#dom-window-blur','Window.blur()')}} | {{Spec2('HTML WHATWG')}} |