The InputEvent.isComposing
read-only property returns a boolean value indicating if the event is fired after compositionstart
and before compositionend
.
The InputEvent.isComposing
read-only property returns a boolean value indicating if the event is fired after compositionstart
and before compositionend
.
A boolean.
js
const inputEvent = new InputEvent("syntheticInput", false); console.log(inputEvent.isComposing); // return false
Specification |
---|
UI Events # dom-inputevent-iscomposing |
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 | 16.4 | 60 | 60 | 31 | 44 | 16.4 | 8.0 |
© 2005–2023 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