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
Specification | Status | Comment |
---|---|---|
Document Object Model (DOM) Level 3 Events Specification The definition of 'InputEvent.isComposing' in that specification. |
Obsolete | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
isComposing | Chrome Full support 60 | Edge Full support 79 | Firefox Full support 31 | IE No support No | Opera Full support 47 | Safari No support No | WebView Android Full support 60 | Chrome Android Full support 60 | Firefox Android Full support 31 | Opera Android Full support 44 | Safari iOS No support No | Samsung Internet Android Full support 8.0 |
Legend
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.