Jump to content
Search Community

Georgios Lemonidis

Premium
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Georgios Lemonidis

  1. 3 minutes ago, OSUblake said:

     

    Are you upgrading an existing project? The new syntax for tweens is gsap.to(".class", { x: 100, duration: 1 });.

     

    Check out the release notes.

     

    If you need TweenMax for backwards compatibility, just import it.

     

    
    import { gsap, TweenMax } from "gsap";

     

    tried but no luck! 

    import from cdn works though with the backwards compatibility

×
×
  • Create New...