@@ -546,6 +546,84 @@ abstract class HTMLDocument extends Document {
546
546
var oncanplaythrough : js.Function1 [Event , _] = js.native
547
547
548
548
var onstoragecommit : js.Function1 [StorageEvent , _] = js.native
549
+
550
+ /**
551
+ * fired when a pointing device is moved into an element's hit test boundaries.
552
+ *
553
+ * MDN
554
+ */
555
+ var onpointerover : js.Function1 [PointerEvent , _] = js.native
556
+
557
+ /**
558
+ * fired when a pointing device is moved into the hit test boundaries of an element
559
+ * or one of its descendants, including as a result of a pointerdown event
560
+ * from a device that does not support hover (see pointerdown).
561
+ *
562
+ * MDN
563
+ */
564
+ var onpointerenter : js.Function1 [PointerEvent , _] = js.native
565
+
566
+ /**
567
+ * fired when a pointer becomes active.
568
+ *
569
+ * MDN
570
+ */
571
+ var onpointerdown : js.Function1 [PointerEvent , _] = js.native
572
+
573
+ /**
574
+ * fired when a pointer changes coordinates.
575
+ *
576
+ * MDN
577
+ */
578
+ var onpointermove : js.Function1 [PointerEvent , _] = js.native
579
+
580
+ /**
581
+ * fired when a pointer is no longer active.
582
+ *
583
+ * MDN
584
+ */
585
+ var onpointerup : js.Function1 [PointerEvent , _] = js.native
586
+
587
+ /**
588
+ * a browser fires this event if it concludes the pointer will no longer be able
589
+ * to generate events (for example the related device is deactived).
590
+ *
591
+ * MDN
592
+ */
593
+ var onpointercancel : js.Function1 [PointerEvent , _] = js.native
594
+
595
+ /**
596
+ * fired for several reasons including: pointing device is moved out of
597
+ * the hit test boundaries of an element;
598
+ * firing the pointerup event for a device that does not support hover (see pointerup);
599
+ * after firing the pointercancel event (see pointercancel);
600
+ * when a pen stylus leaves the hover range detectable by the digitizer.
601
+ *
602
+ * MDN
603
+ */
604
+ var onpointerout : js.Function1 [PointerEvent , _] = js.native
605
+
606
+ /**
607
+ * fired when a pointing device is moved out of the hit test boundaries of an element.
608
+ * For pen devices, this event is fired when the stylus leaves the hover range detectable by the digitizer.
609
+ *
610
+ * MDN
611
+ */
612
+ var onpointerleave : js.Function1 [PointerEvent , _] = js.native
613
+
614
+ /**
615
+ * fired when an element receives pointer capture.
616
+ *
617
+ * MDN
618
+ */
619
+ var gotpointercapture : js.Function1 [PointerEvent , _] = js.native
620
+
621
+ /**
622
+ * Fired after pointer capture is released for a pointer.
623
+ *
624
+ * MDN
625
+ */
626
+ var lostpointercapture : js.Function1 [PointerEvent , _] = js.native
549
627
}
550
628
551
629
/**
@@ -4117,6 +4195,84 @@ abstract class HTMLElement extends Element {
4117
4195
* is an HTMLElement) that we are getting an HTMLDocument here.
4118
4196
*/
4119
4197
override def ownerDocument : HTMLDocument = js.native
4198
+
4199
+ /**
4200
+ * fired when a pointing device is moved into an element's hit test boundaries.
4201
+ *
4202
+ * MDN
4203
+ */
4204
+ var onpointerover : js.Function1 [PointerEvent , _] = js.native
4205
+
4206
+ /**
4207
+ * fired when a pointing device is moved into the hit test boundaries of an element
4208
+ * or one of its descendants, including as a result of a pointerdown event
4209
+ * from a device that does not support hover (see pointerdown).
4210
+ *
4211
+ * MDN
4212
+ */
4213
+ var onpointerenter : js.Function1 [PointerEvent , _] = js.native
4214
+
4215
+ /**
4216
+ * fired when a pointer becomes active.
4217
+ *
4218
+ * MDN
4219
+ */
4220
+ var onpointerdown : js.Function1 [PointerEvent , _] = js.native
4221
+
4222
+ /**
4223
+ * fired when a pointer changes coordinates.
4224
+ *
4225
+ * MDN
4226
+ */
4227
+ var onpointermove : js.Function1 [PointerEvent , _] = js.native
4228
+
4229
+ /**
4230
+ * fired when a pointer is no longer active.
4231
+ *
4232
+ * MDN
4233
+ */
4234
+ var onpointerup : js.Function1 [PointerEvent , _] = js.native
4235
+
4236
+ /**
4237
+ * a browser fires this event if it concludes the pointer will no longer be able
4238
+ * to generate events (for example the related device is deactived).
4239
+ *
4240
+ * MDN
4241
+ */
4242
+ var onpointercancel : js.Function1 [PointerEvent , _] = js.native
4243
+
4244
+ /**
4245
+ * fired for several reasons including: pointing device is moved out of
4246
+ * the hit test boundaries of an element;
4247
+ * firing the pointerup event for a device that does not support hover (see pointerup);
4248
+ * after firing the pointercancel event (see pointercancel);
4249
+ * when a pen stylus leaves the hover range detectable by the digitizer.
4250
+ *
4251
+ * MDN
4252
+ */
4253
+ var onpointerout : js.Function1 [PointerEvent , _] = js.native
4254
+
4255
+ /**
4256
+ * fired when a pointing device is moved out of the hit test boundaries of an element.
4257
+ * For pen devices, this event is fired when the stylus leaves the hover range detectable by the digitizer.
4258
+ *
4259
+ * MDN
4260
+ */
4261
+ var onpointerleave : js.Function1 [PointerEvent , _] = js.native
4262
+
4263
+ /**
4264
+ * fired when an element receives pointer capture.
4265
+ *
4266
+ * MDN
4267
+ */
4268
+ var gotpointercapture : js.Function1 [PointerEvent , _] = js.native
4269
+
4270
+ /**
4271
+ * Fired after pointer capture is released for a pointer.
4272
+ *
4273
+ * MDN
4274
+ */
4275
+ var lostpointercapture : js.Function1 [PointerEvent , _] = js.native
4120
4276
}
4121
4277
4122
4278
/**
0 commit comments