The focusout
event fires when an element is about to lose focus. The main difference between this event and blur
is that focusout
bubbles while blur
does not.
The opposite of focusout
is focusin
.
Bubbles | Yes |
---|---|
Cancelable | No |
Interface | FocusEvent |
Event handler property | onfocusout |
Sync / Async | Sync |
Composed | Yes |