InputEvent.isComposing

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

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
isComposing
Experimental
Chrome Full support 60Edge Full support 79Firefox Full support 31IE No support NoOpera Full support 47Safari No support NoWebView Android Full support 60Chrome Android Full support 60Firefox Android Full support 31Opera Android Full support 44Safari iOS No support NoSamsung 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