O evento focusout
é acionado assim que o elemento perde o foco. A principal diferença entre esse evento e o evento blur
, é que esse ultimo não gera "borbulhas".
- Especificação
- DOM L3
- Interface
FocusEvent
- Borbulha
- Sim
- Cancelável
- Não
- Alvo
- Element
- Ação Padrão
- Nenhuma.
Property |
Type |
Description |
target Somente leitura |
EventTarget |
Event target losing focus. |
type Somente leitura |
DOMString |
The type of event. |
bubbles Somente leitura |
Boolean |
Whether the event normally bubbles or not. |
cancelable Somente leitura |
Boolean |
Whether the event is cancellable or not. |
relatedTarget Somente leitura |
EventTarget (DOM element) |
Event target receiving focus. |
Feature |
Chrome |
Edge |
Firefox (Gecko) |
Internet Explorer |
Opera |
Safari |
Basic support |
(Yes) |
(Yes) |
52 (52) |
(Yes) |
(Yes) |
(Yes) |
Feature |
Android |
Edge |
Firefox Mobile (Gecko) |
IE Mobile |
Opera Mobile |
Safari Mobile |
Basic support |
(Yes) |
(Yes) |
52.0 (52) |
(Yes) |
? |
(Yes) |