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


var bool = event.isComposing;


var kbdEvent = new KeyboardEvent("syntheticKey", false);
console.log(kbdEvent.isComposing); // return false


Specification Status Comment
UI Events
The definition of 'KeyboardEvent.prototype.isComposing' in that specification.
Working Draft  
Document Object Model (DOM) Level 3 Events Specification
The definition of 'KeyboardEvent.prototype.isComposing' in that specification.
Obsolete Initial definition.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
isComposingChrome Full support 56Edge ? Firefox Full support 31IE No support NoOpera Full support 43Safari Full support 10.1WebView Android Full support 56Chrome Android Full support 56Firefox Android Full support 31Opera Android Full support 43Safari iOS Full support 10.1Samsung Internet Android Full support Yes


Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

See also

Document Tags and Contributors

Contributors to this page: SaschaNaz, mdnwebdocs-bot, fscholz, jpmedley, Zcorpan, poiru, teoli
Last updated by: SaschaNaz,