Definition
UI Events defines InputEvent
[Exposed=Window]
interface InputEvent : UIEvent {
constructor(DOMString type, optional InputEventInit eventInitDict = {});
readonly attribute USVString? data;
readonly attribute boolean isComposing;
readonly attribute DOMString inputType;
};
This interface is extended in the following specifications:
- Input Events Level 2
partial interface InputEvent { readonly attribute DataTransfer? dataTransfer; sequence<StaticRange> getTargetRanges(); };
Consolidated IDL (across mixin and partials)
[Exposed=Window]
interface InputEvent : UIEvent {
constructor(DOMString type, optional InputEventInit eventInitDict = {});
readonly attribute USVString? data;
readonly attribute boolean isComposing;
readonly attribute DOMString inputType;
readonly attribute DataTransfer? dataTransfer;
sequence<StaticRange> getTargetRanges();
};
Methods and attributes that return objects implementing InputEvent
Referring specifications
- Input Events Level 2 refers to
InputEvent