The Wayback Machine - https://web.archive.org/web/20150913033718/https://developer.mozilla.org/ja/docs/Web/API/InputEvent

InputEvent

by 3 contributors:
この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

The InputEvent interface represents an event notifying of editable content change.

Constructor

InputEvent()
Creates an InputEvent object.

Properties

This interface inherits properties from its parents, UIEvent and Event.

InputEvent.data Read only
Returns a DOMString with the inserted characters. This may be empty string if the change doesn't cause inserting text, e.g., deleting characters.
InputEvent.isComposingRead only
Returns a Boolean value indicating if the event is fired after compositionstart and before compositionend.

Methods

This interface doesn't implement specific methods, but inherits methods from its parents, UIEvent and Event.

Specifications

Specification Status Comment
Document Object Model (DOM) Level 3 Events Specification
The definition of 'InputEvent' in that specification.
Working Draft Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support Not supported 31.0 (31.0) Not supported Not supported Not supported
data Not supported Not supported Not supported Not supported Not supported
isComposing() Not supported 31.0 (31.0) Not supported Not supported Not supported
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support Not supported 31.0 (31.0) Not supported Not supported Not supported
data Not supported Not supported Not supported Not supported Not supported
isComposing() Not supported 31.0 (31.0) Not supported Not supported Not supported

See also

ドキュメントのタグと貢献者

タグ: 
Contributors to this page: fscholz, teoli, Masayuki
最終更新者: fscholz,