KeyboardEvent.isComposing

このロケールの翻訳が存在しないため、英語バージョンのコンテンツを表示しています。 Help us translate this article!

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
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
DesktopMobile
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

Legend

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

See also