Jump to content
Search Community

limit callbacks on single instance of ScrollTrigger

Grommas Dietz test
Moderator Tag

Recommended Posts

Is there a way of using limitCallbacks on a single instance of ScrollTrigger instead of using it globally inside scrolltrigger.config? In my project there is a quite simple lazyload mechanism observing videos and images. Since the user can jump directly to an anchor, I have to limit the callbacks. At the same time there is a fixed navigation with some logic which should not be affected by callback limitations.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...