Skip to content

UIEvent

Generated from idl/html.webidl when the site was built at 7aa23e2.

UIEvent is an interface in idl/html.webidl, inheriting Event, exposed in Window. What it does is on MDN; this page says what niso has of it.

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
Mouse events Widely available Partial 71% 217 of 302 subtests pass 4
constructor
constructor(DOMString type, optional UIEventInit eventInitDict = {});
int32_t niso_ui_event_new(niso_dom* dom, const char* type, size_t type_len, const niso_ui_event_init* event_init_dict, niso_handle* out);
attribute
readonly attribute Window? view;
int32_t niso_ui_event_get_view(niso_dom* dom, niso_handle self, niso_handle* out);
attribute
readonly attribute long detail;
int32_t niso_ui_event_get_detail(niso_dom* dom, niso_handle self, int32_t* out);
attribute
readonly attribute unsigned long which;
int32_t niso_ui_event_get_which(niso_dom* dom, niso_handle self, uint32_t* out);
operation
undefined initUIEvent(DOMString typeArg, optional boolean bubblesArg = false, optional boolean cancelableArg = false, optional Window? viewArg = null, optional long detailArg = 0);
int32_t niso_ui_event_init_ui_event(niso_dom* dom, niso_handle self, const char* type_arg, size_t type_arg_len, bool bubbles_arg, bool cancelable_arg, niso_handle view_arg, int32_t detail_arg);