Jump to content
Search Community

Funhyun

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Funhyun

  1. Hi GSAP experts!

     

    I am new in developing GSAP. In general, do I need to add registeredPlugin codes after the first line of code in the JS file? Any advice is greatly appreciated. Thanks in advance! 😀

     

    import gsap from 'gsap';
    
    // Is this code below needed if I want to use ScrollTrigger and ScrollSmoother plugins?
    gsap.registerPlugin(ScrollTrigger, ScrollSmoother);

     

×
×
  • Create New...