W3cubDocs

/Haxe JavaScript

TransitionEvent

package js.html

extends Event

Available on js

The TransitionEvent interface represents events providing information related to transitions.

Documentation TransitionEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(type:String, ?eventInitDict:Null<TransitionEventInit>)

Throws:

null

DOMError

Variables

read onlyelapsedTime:Float

Is a float giving the amount of time the transition has been running, in seconds, when this event fired. This value is not affected by the transition-delay property.

read onlypropertyName:String

Is a DOMString containing the name CSS property associated with the transition.

read onlypseudoElement:String

Is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the transition doesn't run on a pseudo-element but on the element, an empty string: ''.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/TransitionEvent.html