hypernym-studio / nuxt-gsap

GSAP module for Nuxt.
MIT License
290 stars 12 forks source link

How to proxy locomotive with Scroll Trigger #27

Closed Sananes closed 2 years ago

Sananes commented 2 years ago

Hey buddy,

As always thank you for your hard work on all this. How do I get locomotive and ScrollTrigger to work nicely together?

I've tried a couple of attempts but I am failing. Just wondered if you've managed to make those two things work together nicely?

ivodolenc commented 2 years ago

Hi, [here](https://greensock.com/docs/v3/Plugins/ScrollTrigger/static.scrollerProxy()) you can find some official examples and detailed information about the ScrollTrigger.scrollerProxy.

Example -> Locomotive Scroll + ScrollTrigger