InputEvent.isComposing

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

Syntax

var bool = event.isComposing;

Example

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

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
isComposing
60
79
31
No
47
No
60
60
31
44
No
8.0

See also

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/isComposing