PointerEvent
Generated from idl/uievents.webidl when the site was built at 7aa23e2.
PointerEvent 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 |
|---|---|---|---|
| Pointer Events | Widely available | Partial 19% 484 of 2436 subtests pass | 14 |
Members
Section titled “Members”constructor
Section titled “constructor”constructor(DOMString type, optional PointerEventInit eventInitDict = {});int32_t niso_pointer_event_new(niso_dom* dom, const char* type, size_t type_len, const niso_pointer_event_init* event_init_dict, niso_handle* out);pointerId
Section titled “pointerId”readonly attribute long pointerId;int32_t niso_pointer_event_get_pointer_id(niso_dom* dom, niso_handle self, int32_t* out);readonly attribute double width;int32_t niso_pointer_event_get_width(niso_dom* dom, niso_handle self, double* out);height
Section titled “height”readonly attribute double height;int32_t niso_pointer_event_get_height(niso_dom* dom, niso_handle self, double* out);pressure
Section titled “pressure”readonly attribute float pressure;int32_t niso_pointer_event_get_pressure(niso_dom* dom, niso_handle self, float* out);tangentialPressure
Section titled “tangentialPressure”readonly attribute float tangentialPressure;int32_t niso_pointer_event_get_tangential_pressure(niso_dom* dom, niso_handle self, float* out);readonly attribute long tiltX;int32_t niso_pointer_event_get_tilt_x(niso_dom* dom, niso_handle self, int32_t* out);readonly attribute long tiltY;int32_t niso_pointer_event_get_tilt_y(niso_dom* dom, niso_handle self, int32_t* out);readonly attribute long twist;int32_t niso_pointer_event_get_twist(niso_dom* dom, niso_handle self, int32_t* out);pointerType
Section titled “pointerType”readonly attribute DOMString pointerType;int32_t niso_pointer_event_get_pointer_type(niso_dom* dom, niso_handle self, niso_str* out);isPrimary
Section titled “isPrimary”readonly attribute boolean isPrimary;int32_t niso_pointer_event_get_is_primary(niso_dom* dom, niso_handle self, bool* out);getCoalescedEvents()
Section titled “getCoalescedEvents()”sequence<PointerEvent> getCoalescedEvents();int32_t niso_pointer_event_get_coalesced_events(niso_dom* dom, niso_handle self, niso_handles* out);getPredictedEvents()
Section titled “getPredictedEvents()”sequence<PointerEvent> getPredictedEvents();int32_t niso_pointer_event_get_predicted_events(niso_dom* dom, niso_handle self, niso_handles* 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.
altitudeAngle(Pointer Events)azimuthAngle(Pointer Events)persistentDeviceId(Pointer Events)