Skip to content

Commit 445ca4b

Browse files
authored
fix: Added missing event handlers (#388)
* fix: Added missing event handlers - Removed *capture - Synced knownevents.ts #392 #393
1 parent b1cc4ba commit 445ca4b

File tree

2 files changed

+70
-132
lines changed

2 files changed

+70
-132
lines changed
Lines changed: 22 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,162 +1,118 @@
11
export default [
22
'oncopy',
3-
'oncopycapture',
43
'oncut',
5-
'oncutcapture',
64
'onpaste',
7-
'onpastecapture',
85

96
// composition events
107
'oncompositionend',
11-
'oncompositionendcapture',
128
'oncompositionstart',
13-
'oncompositionstartcapture',
149
'oncompositionupdate',
15-
'oncompositionupdatecapture',
1610

1711
// focus events
1812
'onfocus',
19-
'onfocuscapture',
2013
'onblur',
21-
'onblurcapture',
2214

2315
// form events
2416
'onchange',
25-
'onchangecapture',
2617
'oninput',
27-
'oninputcapture',
2818
'onreset',
29-
'onresetcapture',
3019
'onsubmit',
31-
'onsubmitcapture',
20+
'oninvalid',
3221

3322
// image events
3423
'onload',
35-
'onloadcapture',
3624
'onerror',
37-
'onerrorcapture',
3825

3926
// keyboard events
4027
'onkeydown',
41-
'onkeydowncapture',
4228
'onkeypress',
43-
'onkeypresscapture',
4429
'onkeyup',
45-
'onkeyupcapture',
4630

4731
// media events
4832
'onabort',
49-
'onabortcapture',
5033
'oncanplay',
51-
'oncanplaycapture',
5234
'oncanplaythrough',
53-
'oncanplaythroughcapture',
35+
'oncuechange',
5436
'ondurationchange',
55-
'ondurationchangecapture',
5637
'onemptied',
57-
'onemptiedcapture',
5838
'onencrypted',
59-
'onencryptedcapture',
6039
'onended',
61-
'onendedcapture',
6240
'onloadeddata',
63-
'onloadeddatacapture',
6441
'onloadedmetadata',
65-
'onloadedmetadatacapture',
6642
'onloadstart',
67-
'onloadstartcapture',
6843
'onpause',
69-
'onpausecapture',
7044
'onplay',
71-
'onplaycapture',
7245
'onplaying',
73-
'onplayingcapture',
7446
'onprogress',
75-
'onprogresscapture',
7647
'onratechange',
77-
'onratechangecapture',
7848
'onseeked',
79-
'onseekedcapture',
8049
'onseeking',
81-
'onseekingcapture',
8250
'onstalled',
83-
'onstalledcapture',
8451
'onsuspend',
85-
'onsuspendcapture',
8652
'ontimeupdate',
87-
'ontimeupdatecapture',
8853
'onvolumechange',
89-
'onvolumechangecapture',
9054
'onwaiting',
91-
'onwaitingcapture',
9255

9356
// mouseevents
9457
'onclick',
95-
'onclickcapture',
58+
'onauxclick',
9659
'oncontextmenu',
97-
'oncontextmenucapture',
9860
'ondblclick',
99-
'ondblclickcapture',
10061
'ondrag',
101-
'ondragcapture',
10262
'ondragend',
103-
'ondragendcapture',
10463
'ondragenter',
105-
'ondragentercapture',
10664
'ondragexit',
107-
'ondragexitcapture',
10865
'ondragleave',
109-
'ondragleavecapture',
11066
'ondragover',
111-
'ondragovercapture',
11267
'ondragstart',
113-
'ondragstartcapture',
11468
'ondrop',
115-
'ondropcapture',
11669
'onmousedown',
117-
'onmousedowncapture',
11870
'onmouseenter',
11971
'onmouseleave',
12072
'onmousemove',
121-
'onmousemovecapture',
12273
'onmouseout',
123-
'onmouseoutcapture',
12474
'onmouseover',
125-
'onmouseovercapture',
12675
'onmouseup',
127-
'onmouseupcapture',
12876

12977
// selection events
13078
'onselect',
131-
'onselectcapture',
79+
'onselectionchange',
80+
'onselectstart',
13281

13382
// touch events
13483
'ontouchcancel',
135-
'ontouchcancelcapture',
13684
'ontouchend',
137-
'ontouchendcapture',
13885
'ontouchmove',
139-
'ontouchmovecapture',
14086
'ontouchstart',
141-
'ontouchstartcapture',
87+
88+
// pointer events
89+
'ongotpointercapture',
90+
'onpointercancel',
91+
'onpointerdown',
92+
'onpointerenter',
93+
'onpointerleave',
94+
'onpointermove',
95+
'onpointerout',
96+
'onpointerover',
97+
'onpointerup',
98+
'onlostpointercapture',
14299

143100
// ui events
144101
'onscroll',
145-
'onscrollcapture',
146102

147103
// wheel events
148104
'onwheel',
149-
'onwheelcapture',
150105

151106
// animation events
152107
'onanimationstart',
153-
'onanimationstartcapture',
154108
'onanimationend',
155-
'onanimationendcapture',
156109
'onanimationiteration',
157-
'onanimationiterationcapture',
158110

159111
// transition events
160112
'ontransitionend',
161-
'ontransitionendcapture',
113+
114+
// global events
115+
'oncancel',
116+
'onmessage',
117+
'onmessageerror',
162118
];

0 commit comments

Comments
 (0)