Liking cljdoc? Tell your friends :D
ClojureScript only.

web.AnimationTimeline

The AnimationTimeline interface of the Web Animations API represents timeline of an animation. This interface exists to define timeline (inherited by web.DocumentTimeline and future timeline types) is not itself directly used by developers. Anywhere you see AnimationTimeline, should use DocumentTimeline or any other timeline type instead.

The AnimationTimeline interface of the Web Animations API represents
timeline of an animation. This interface exists to define timeline
(inherited by `web.DocumentTimeline` and future timeline types)
is not itself directly used by developers. Anywhere you see AnimationTimeline,
should use DocumentTimeline or any other timeline type instead.
raw docstring

current-timecljs

(current-time this)

Property.

The currentTime read-only property of the Web Animations API's interface returns the timeline's current time in milliseconds, null if the timeline is inactive.

var currentTime = AnimationTimeline.currentTime;

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

Property.

The currentTime read-only property of the Web Animations API's
interface returns the timeline's current time in milliseconds,
null if the timeline is inactive.

`var currentTime = AnimationTimeline.currentTime;`

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

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

× close