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

3.6.7.3 compositionend

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

3.6.7.3. compositionend

Тип

compositionend

Интерфейс

CompositionEvent

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

Синхронно

Всплытие

Да

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

Element

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

No

Композиция

Да

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

Нет

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

Event.target : focused element processing the composition

UIEvent.view : Window

UIEvent.detail : 0

CompositionEvent.data : the string comprising the final result of the composition session, which MAY be the empty string if the content has been deleted or if the composition process has been canceled

A user agent MUST dispatch this event when a text composition system completes or cancels the current composition session, and the compositionend event MUST be dispatched after the control is updated.

This event is dispatched immediately after the text composition system completes the composition session (e.g., the IME is closed, minimized, switched out of focus, or otherwise dismissed, and the focus switched back to the user agent).