File tree 3 files changed +21
-1
lines changed
3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,12 @@ const eventTypes = [
117
117
} ,
118
118
{
119
119
type : 'Transition' ,
120
- events : [ 'transitionEnd' ] ,
120
+ events : [
121
+ 'transitionCancel' ,
122
+ 'transitionEnd' ,
123
+ 'transitionRun' ,
124
+ 'transitionStart' ,
125
+ ] ,
121
126
elementType : 'div' ,
122
127
} ,
123
128
{
Original file line number Diff line number Diff line change @@ -297,10 +297,22 @@ export const eventMap = {
297
297
defaultInit : { bubbles : true , cancelable : false } ,
298
298
} ,
299
299
// Transition Events
300
+ transitionCancel : {
301
+ EventType : 'TransitionEvent' ,
302
+ defaultInit : { bubbles : true , cancelable : false } ,
303
+ } ,
300
304
transitionEnd : {
301
305
EventType : 'TransitionEvent' ,
302
306
defaultInit : { bubbles : true , cancelable : true } ,
303
307
} ,
308
+ transitionRun : {
309
+ EventType : 'TransitionEvent' ,
310
+ defaultInit : { bubbles : true , cancelable : false } ,
311
+ } ,
312
+ transitionStart : {
313
+ EventType : 'TransitionEvent' ,
314
+ defaultInit : { bubbles : true , cancelable : false } ,
315
+ } ,
304
316
// pointer events
305
317
pointerOver : {
306
318
EventType : 'PointerEvent' ,
Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ export type EventType =
71
71
| 'animationStart'
72
72
| 'animationEnd'
73
73
| 'animationIteration'
74
+ | 'transitionCancel'
74
75
| 'transitionEnd'
76
+ | 'transitionRun'
77
+ | 'transitionStart'
75
78
| 'doubleClick'
76
79
| 'pointerOver'
77
80
| 'pointerEnter'
You can’t perform that action at this time.
0 commit comments