Skip to content

Setting the once option to true #1

@finnstormhawk

Description

@finnstormhawk

If you set "once: true" under the ScrollTrigger options after:

// Create the Flip animation timeline

in index.js

It leaves a massive empty space above each of the animated sections.

How can the animation be set to play only on the initial scroll-through and not reset on reverse scroll once it has completed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions