Skip to content

module

timeline

Tweens, staggers and timelines — pure timing. Values are filled in by a runtime (the DOM, a 3D scene) which reads start values and applies Samples.

Structs

  • Entry

    A timeline's child and where it starts.

  • Prop

    One animated property: optional explicit start, and the end value. A missing from means "the current value"; a missing to (a from() tween) means "back to the current value".

  • Sample

    A value to apply: target target of tween tween gets prop = value.

  • Stagger

    GSAP's stagger: a delay between targets (each) or spread over a total (amount), from a point in the list or a grid, optionally eased.

  • Timeline

    A sequence of tweens with labels, repeat and yoyo.

  • Tween

    A tween over count targets.

Enums

  • From

    Where a staggered sequence starts from.

  • Position

    GSAP's position parameter.