Provides a consistent interface to trigger CSS 3 transitions and to be informed when they complete.
The DOMElement that will be animated
The thing that will cause the transition to start:
Optional settings for the transition.
A promise that is resolved when the transition finishes.
The browser specific animation event name.
The browser specific transition event name.