InputEvent
Generated from idl/uievents.webidl when the site was built at 7aa23e2.
InputEvent is an interface in idl/uievents.webidl, inheriting UIEvent, exposed in Window. What it does is on MDN; this page says what niso has of it.
InputEvent is UI Events’; Input Events (https://w3c.github.io/input-events/) adds dataTransfer and getTargetRanges(). niso has no DataTransfer or StaticRange yet, so dataTransfer is null and getTargetRanges() returns no ranges.
Status
Section titled “Status”The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).
| Feature | On the web | In niso | Members |
|---|---|---|---|
| input (event) | Widely available | No WPT tests WPT maps no test to it | 7 |
Members
Section titled “Members”constructor
Section titled “constructor”constructor(DOMString type, optional InputEventInit eventInitDict = {});int32_t niso_input_event_new(niso_dom* dom, const char* type, size_t type_len, const niso_input_event_init* event_init_dict, niso_handle* out);readonly attribute DOMString? data;int32_t niso_input_event_get_data(niso_dom* dom, niso_handle self, niso_str* out);isComposing
Section titled “isComposing”readonly attribute boolean isComposing;int32_t niso_input_event_get_is_composing(niso_dom* dom, niso_handle self, bool* out);inputType
Section titled “inputType”readonly attribute DOMString inputType;int32_t niso_input_event_get_input_type(niso_dom* dom, niso_handle self, niso_str* out);dataTransfer
Section titled “dataTransfer”readonly attribute object? dataTransfer;int32_t niso_input_event_get_data_transfer(niso_dom* dom, niso_handle self, niso_handle* out);getTargetRanges()
Section titled “getTargetRanges()”[NisoGlue] sequence<object> getTargetRanges();