您正在阅读此内容的英文版本,因为该语系尚未翻译。 帮助我们翻译此文章吧!
The InputEvent.isComposing
read-only property returns a Boolean
value indicating if the event is fired after compositionstart
and before compositionend
.
这是一个只读属性,返回boolean类型。表示正处于输入事件的开始与结束之间,表示正在输入状态。
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 InputEvent.isComposing |
Obsolete | Initial definition. |
Browser compatibility
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 未实现 | 31.0 (31.0) | 未实现 | 未实现 | 未实现 |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 未实现 | 31.0 (31.0) | 未实现 | 未实现 | 未实现 |