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

3.3.4.3 focusin

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

3.3.4.3. focusin

Тип

focusin

Интерфейс

FocusEvent

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

Синхронно

Всплытие

Да

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

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 event target MUST be the element which received focus. The focus event MUST fire before the dispatch of this event type. This event type is similar to focus, but does bubble.