W3cubDocs

/Web APIs

InputEvent: isComposing property

Baseline 2023
Newly available

Since ⁨March 2023⁩, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

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

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

See also

© 2005–2025 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