MDN self-hosted library · e01.org

InputEvent: isComposing property

UI Events

Open notebook · 1 cells web-api-instance-property upstream source

UI Events

The InputEvent.isComposing read-only property returns a boolean value indicating if the event is fired after compositionstart and before compositionend.

Value

A boolean.

Examples

const inputEvent = new InputEvent("syntheticInput", false);
console.log(inputEvent.isComposing); // return false

Specifications

Browser compatibility

See also

  • compositionstart and compositionend
  • InputEvent