KeyboardEvent.isComposing

The KeyboardEvent.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 kbdEvent = new KeyboardEvent("syntheticKey", false);
console.log(kbdEvent.isComposing); // return false

Specifications

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

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox 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 56Edge Mobile ? Firefox Android Full support 31Opera Android Full support 43Safari iOS Full support 10.1Samsung Internet Android ?

Legend

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

See also

Document Tags and Contributors

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