WheelEvent
Generated from idl/uievents.webidl when the site was built at 7aa23e2.
WheelEvent is an interface in idl/uievents.webidl, inheriting MouseEvent, exposed in Window. What it does is on MDN; this page says what niso has of it.
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 |
|---|---|---|---|
| Wheel events | Limited availability | Partial 16% 5 of 31 subtests pass | 6 |
Members
Section titled “Members”constructor
Section titled “constructor”constructor(DOMString type, optional WheelEventInit eventInitDict = {});int32_t niso_wheel_event_new(niso_dom* dom, const char* type, size_t type_len, const niso_wheel_event_init* event_init_dict, niso_handle* out);DOM_DELTA_PIXEL
Section titled “DOM_DELTA_PIXEL”const unsigned long DOM_DELTA_PIXEL = 0x00;DOM_DELTA_LINE
Section titled “DOM_DELTA_LINE”const unsigned long DOM_DELTA_LINE = 0x01;DOM_DELTA_PAGE
Section titled “DOM_DELTA_PAGE”const unsigned long DOM_DELTA_PAGE = 0x02;deltaX
Section titled “deltaX”readonly attribute double deltaX;int32_t niso_wheel_event_get_delta_x(niso_dom* dom, niso_handle self, double* out);deltaY
Section titled “deltaY”readonly attribute double deltaY;int32_t niso_wheel_event_get_delta_y(niso_dom* dom, niso_handle self, double* out);deltaZ
Section titled “deltaZ”readonly attribute double deltaZ;int32_t niso_wheel_event_get_delta_z(niso_dom* dom, niso_handle self, double* out);deltaMode
Section titled “deltaMode”readonly attribute unsigned long deltaMode;int32_t niso_wheel_event_get_delta_mode(niso_dom* dom, niso_handle self, uint32_t* out);Not in niso yet
Section titled “Not in niso yet”Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.
momentum(Wheel events momentum)pinch_to_zoom_support(Wheel events)