focusout
L'évènement focusout
est déclenché lorsqu'un élément du DOM est sur le point de perdre le focus. La différence principale entre cet évènement et blur
est que ce dernier ne se propage pas.
Informations générales
- Spécification
- Interface
FocusEvent
- Propagation
-
Oui
- Annulable
-
Non
- Cible
Element
- Action par défaut
-
Aucune
Propriétés
Property | Type | Description |
---|---|---|
target Lecture seule |
EventTarget |
Event target losing focus. |
type Lecture seule |
DOMString |
The type of event. |
bubbles Lecture seule |
Boolean |
Whether the event normally bubbles or not. |
cancelable Lecture seule |
Boolean |
Whether the event is cancellable or not. |
relatedTarget Lecture seule |
EventTarget (DOM element) |
Event target receiving focus. |
Compatibilité des navigateurs
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
focusout event |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
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.