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

3.4.3.2 input

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

3.4.3.2. input

Тип

input

Интерфейс

InputEvent

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

Синхронно

Всплытие

Да

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

Element (specifically: control types such as HTMLInputElement, etc.) or any Element with contenteditable attribute enabled

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

No

Композиция

Да

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

Нет

Контекст (доверенные события)

Event.target : event target that was just updated

UIEvent.view : Window

UIEvent.detail : 0

InputEvent.data : the string containing the data that has been added to the element, which MAY be the empty string if the content has been deleted

InputEvent.isComposing : true if this event is dispatched during a dead key sequence or while an input method editor is active (such that composition events are being dispatched); false otherwise.

A user agent MUST dispatch this event immediately after the DOM has been updated.