InputEvent: isComposing property
UI Events
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