Liking cljdoc? Tell your friends :D

web.animation.AnimationEvent

The AnimationEvent interface represents events providing information to animations.

The AnimationEvent interface represents events providing information
to animations.
raw docstring

animation-namecljs

(animation-name this)

Property.

[Read Only] [Experimental]

The AnimationEvent.animationName read-only property is a web.DOMString the value of the animation-name CSS property associated with transition.

name = AnimationEvent.animationName

See also: https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/animationName

Property.

[Read Only]
[Experimental]

The AnimationEvent.animationName read-only property is a `web.DOMString`
the value of the `animation-name` CSS property associated with
transition.

`name = AnimationEvent.animationName`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/animationName`
sourceraw docstring

constructorcljs

(constructor & args)

Constructor.

The AnimationEvent() constructor returns a newly created web.animation.AnimationEvent, representing an event in relation with an animation.

The AnimationEvent() constructor also inherits arguments from Event().

type A web.DOMString representing the name of the type of the AnimationEvent. It is case-sensitive and can be: 'animationstart', 'animationend', or 'animationiteration'. animationName Optional A web.DOMString containing the value of the animation-name CSS property associated with the transition. It defaults to "". elapsedTime Optional A float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing (-1 * delay). It defaults to 0.0. pseudoElement Optional Is a web.DOMString, starting with "::", containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element itself, specify an empty string: "". It defaults to "".

See also: https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/AnimationEvent

Constructor.

The AnimationEvent() constructor returns a newly created `web.animation.AnimationEvent`, representing an event in relation with an animation.

The AnimationEvent() constructor also inherits arguments from `Event()`.


type
A `web.DOMString` representing the name of the type of the AnimationEvent. It is case-sensitive and can be: 'animationstart', 'animationend', or 'animationiteration'.
animationName Optional
A `web.DOMString` containing the value of the `animation-name` CSS property associated with the transition. It defaults to \"\".
elapsedTime Optional
A float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an \"animationstart\" event, elapsedTime is 0.0 unless there was a negative value for `animation-delay`, in which case the event will be fired with elapsedTime containing (-1 * delay). It defaults to 0.0.
pseudoElement Optional
Is a `web.DOMString`, starting with \"::\", containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element itself, specify an empty string: \"\". It defaults to \"\".

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/AnimationEvent`
sourceraw docstring

elapsed-timecljs

(elapsed-time this)

Property.

[Read Only] [Experimental]

The AnimationEvent.elapsedTime read-only property is a float the amount of time the animation has been running, in seconds, this event fired, excluding any time the animation was paused. an "animationstart" event, elapsedTime is 0.0 unless there a negative value for animation-delay, in which case the event be fired with elapsedTime containing (-1 * delay).

time = AnimationEvent.elapsedTime

See also: https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/elapsedTime

Property.

[Read Only]
[Experimental]

The AnimationEvent.elapsedTime read-only property is a float
the amount of time the animation has been running, in seconds,
this event fired, excluding any time the animation was paused.
an \"animationstart\" event, elapsedTime is 0.0 unless there
a negative value for `animation-delay`, in which case the event
be fired with elapsedTime containing (-1 * delay).

`time = AnimationEvent.elapsedTime`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/elapsedTime`
sourceraw docstring

init-animation-eventcljs

(init-animation-event this
                      type-arg
                      can-bubble-arg
                      cancelable-arg
                      animation-name-arg
                      elapsed-time-arg)

Method.

[Non Standard] [Obsolute]

The AnimationEvent.initAnimationEvent() method Initializes an event created using the deprecated Document.createEvent(\"AnimationEvent\")

animationEvent.initAnimationEvent(typeArg, canBubbleArg, cancelableArg, animationNameArg, elapsedTimeArg);

See also: https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/initAnimationEvent

Method.

[Non Standard]
[Obsolute]

The AnimationEvent.initAnimationEvent() method Initializes an
event created using the deprecated `Document.createEvent(\"AnimationEvent\")`

`animationEvent.initAnimationEvent(typeArg, canBubbleArg, cancelableArg, animationNameArg, elapsedTimeArg);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/initAnimationEvent`
sourceraw docstring

pseudo-elementcljs

(pseudo-element this)

Property.

[Read Only] [Experimental]

The AnimationEvent.pseudoElement read-only property is a web.DOMString, with '::', containing the name of the pseudo-element the animation on. If the animation doesn't run on a pseudo-element but on the an empty string: ''.

name = AnimationEvent.pseudoElement

See also: https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/pseudoElement

Property.

[Read Only]
[Experimental]

The AnimationEvent.pseudoElement read-only property is a `web.DOMString`,
with '::', containing the name of the pseudo-element the animation
on. If the animation doesn't run on a pseudo-element but on the
an empty string: ''.

`name = AnimationEvent.pseudoElement`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/pseudoElement`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close