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 SpecificationThe 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.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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.
See also
compositionstart
andcompositionend
InputEvent
InputEvent.isComposing by Mozilla Contributors is licensed under CC-BY-SA 2.5.