Jump to content
Search Community

Charly

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Charly

  1. I feel really stupid now, thank you for your help @PointC
  2. I'm struggling with this error, never happened to me before even after using ScrollTrigger on multiple projects. I'm getting an error each time I want to use the "markers" or "start" parameter. My set-up is pretty simple though, anything I missed ? Invalid property markers set to true Missing plugin? gsap.registerPlugin()" import { gsap } from 'gsap'; import { ScrollTrigger } from 'gsap/ScrollTrigger'; gsap.registerPlugin(ScrollTrigger); document.addEventListener('DOMContentLoaded', () => { gsap.to('.fade-up', { scrollTrigger: '.key-figures', y: 0, opacity: 1, markers: true, }); }); I created a separated copePen below just to try it out on a clean base but the result is the same... Thank you for your support.
  3. Thank you so much for this, you made my day !
×
×
  • Create New...