Chartbreaker
    Preparing search index...

    Interface AnimationTimeline

    The AnimationTimeline interface of the Web Animations API represents the timeline of an animation. This interface exists to define timeline features, inherited by other timeline types:

    MDN Reference

    interface AnimationTimeline {
        currentTime: CSSNumberish | null;
        duration: CSSNumberish | null;
    }

    Hierarchy (View Summary)

    Index

    Properties

    currentTime: CSSNumberish | null

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

    MDN Reference

    duration: CSSNumberish | null

    The duration read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null.

    MDN Reference