-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTransitionEventType.hx
37 lines (28 loc) · 1.12 KB
/
TransitionEventType.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package eventtypes;
enum abstract TransitionEventType(String) to String {
/**
The transitioncancel event is fired when a CSS transition is canceled.
See https://developer.mozilla.org/en-US/docs/Web/Events/transitioncancel
*/
var TransitionCancel = 'transitioncancel';
/**
The transitionend event is fired when a CSS transition has completed.
In the case where a transition is removed before completion, such as if
the transition-property is removed or display is set to "none", then
the event will not be generated.
See https://developer.mozilla.org/en-US/docs/Web/Events/transitionend
*/
var TransitionEnd = 'transitionend';
/**
The transitionrun event is fired when a CSS transition is first
created, i.e. before any transition-delay has begun.
See https://developer.mozilla.org/en-US/docs/Web/Events/transitionrun
*/
var TransitionRun = 'transitionrun';
/**
The transitionstart event is fired when a CSS transition has actually
started, i.e. after any transition-delay has ended.
See https://developer.mozilla.org/en-US/docs/Web/Events/transitionstart
*/
var TransitionStart = 'transitionstart';
}