Skip to content

Commit 1e2ee90

Browse files
committed
added pointer dom events to constant list
SQUASHED: AUTO-COMMIT-src-client-constants.js,
1 parent 6a69ff5 commit 1e2ee90

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

src/client/constants.js

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* All standard DOM events
33
*/
4-
export const domEvents = [
4+
export const domEvents = [
55
"animationend",
66
"animationiteration",
77
"animationstart",
@@ -226,7 +226,20 @@ export const domEvents = [
226226
"moztimechange",
227227
"open",
228228
"show"
229-
];
229+
].concat([
230+
// Pointer Events
231+
// https://developer.mozilla.org/en-US/docs/Web/Events#Pointer_events
232+
"pointerover",
233+
"pointerenter",
234+
"pointerdown",
235+
"pointermove",
236+
"pointerup",
237+
"pointercancel",
238+
"pointerout",
239+
"pointerleave",
240+
"gotpointercapture",
241+
"lostpointercapture"
242+
]).uniq();
230243

231244
/**
232245
* All standard CSS Properties

0 commit comments

Comments
 (0)