Hi,
I'm newbie for GSAP.
When mobile size I'm trying to remove all ScrollTrigger. I already read all about .kill() document but I have no idea how to start.
Here is what I write in my website.
ScrollTrigger.matchMedia({
// mobile
"(max-width: 768px)": function() {
tl.scrollTrigger.kill();
pinner.scrollTrigger.kill();
},
});
Do you guys have any idea on how i should write on the code part ?
Ap