Window.blur()
Описание
Убирает фокус с окна.
Синтаксис
window.blur()
Пример
js
window.blur();
Примечания
Метод window.blur() является программным эквивалентом действия, когда пользователь переключает фокус с текущего окна.
Спецификации
Specification |
---|
HTML # dom-window-blur |
Совместимость с браузерами
Report problems with this compatibility data on GitHubdesktop | mobile | server | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
blur |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Deprecated. Not for use in new websites.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.