3.3.4.2 focus
3.3.4.2. focus
Тип
focus
Интерфейс
FocusEvent
Синхронность / Асинхронность
Синхронно
Всплытие
No
Доверенные цели
Window, Element
Отменяемость
No
Композиция
Да
Действие по умолчанию
Нет
Контекст (доверенные события)
Event.target : event target receiving focus
UIEvent.view : Window
UIEvent.detail : 0
FocusEvent.relatedTarget : event target losing focus (if any).
A user agent MUST dispatch this event when an event target receives focus. The focus MUST be given to the element before the dispatch of this event type. This event type is similar to focusin, but does not bubble.