Web Platform Atlas
EN⚡RUUA⚡DE⚡FR⚡ES⚡PL⚡PT⚡ZH⚡JA⚡
Каталог / UI Events / DOMFocusIn

8.2.1.1 DOMFocusIn

Статический предпросмотр (RU): для MDN, WPT, глоссария и BYOK-перевода откройте интерактивный Атлас.
⚡ Открыть главу в Атласе

8.2.1.1. DOMFocusIn

Тип

DOMFocusIn

Интерфейс

FocusEvent

Синхронность / Асинхронность

Синхронно

Всплытие

Да

Доверенные цели

Window, Element

Отменяемость

No

Композиция

Да

Действие по умолчанию

Нет

Context(trusted events)

Event.target : event target receiving focus

UIEvent.view : Window

UIEvent.detail : 0

FocusEvent.relatedTarget : null

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 MUST be dispatched after the event type focus.

The DOMFocusIn event type is defined in this specification for reference and completeness, but this specification deprecates the use of this event type in favor of the related event types focus and focusin.