File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,12 @@ const eventTypes = [
117117 } ,
118118 {
119119 type : 'Transition' ,
120- events : [ 'transitionEnd' ] ,
120+ events : [
121+ 'transitionCancel' ,
122+ 'transitionEnd' ,
123+ 'transitionRun' ,
124+ 'transitionStart' ,
125+ ] ,
121126 elementType : 'div' ,
122127 } ,
123128 {
Original file line number Diff line number Diff line change @@ -297,10 +297,22 @@ export const eventMap = {
297297 defaultInit : { bubbles : true , cancelable : false } ,
298298 } ,
299299 // Transition Events
300+ transitionCancel : {
301+ EventType : 'TransitionEvent' ,
302+ defaultInit : { bubbles : true , cancelable : false } ,
303+ } ,
300304 transitionEnd : {
301305 EventType : 'TransitionEvent' ,
302306 defaultInit : { bubbles : true , cancelable : true } ,
303307 } ,
308+ transitionRun : {
309+ EventType : 'TransitionEvent' ,
310+ defaultInit : { bubbles : true , cancelable : false } ,
311+ } ,
312+ transitionStart : {
313+ EventType : 'TransitionEvent' ,
314+ defaultInit : { bubbles : true , cancelable : false } ,
315+ } ,
304316 // pointer events
305317 pointerOver : {
306318 EventType : 'PointerEvent' ,
Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ export type EventType =
7171 | 'animationStart'
7272 | 'animationEnd'
7373 | 'animationIteration'
74+ | 'transitionCancel'
7475 | 'transitionEnd'
76+ | 'transitionRun'
77+ | 'transitionStart'
7578 | 'doubleClick'
7679 | 'pointerOver'
7780 | 'pointerEnter'
You can’t perform that action at this time.
0 commit comments