Window.blur()
Éloigne la mise au point de la fenêtre.
Syntaxe
js
window.blur();
Exemple
js
window.blur();
Notes
La méthode window.blur()
est l'équivalent programmatique du déplacement du focus de l'utilisateur loin de la fenêtre courante.
Spécifications
Specification |
---|
HTML # dom-window-blur |
Compatibilité des navigateurs
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.