Jump to content
Search Community

_marta

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

_marta's Achievements

1

Reputation

  1. I wanted to have just a specific timeline that would keep running when I switched tabs, on just one specific situation. All of the other timeline would run normally.
  2. Hey guys, just wondering, in case anyone sets lagSmoothing to false will this affect all of their timelines? Is there a way to just set this property to a specific one?
  3. It is working now, thank you both!! I am sorry, I thought that I had read everything on the installation guide but apparently not.
  4. Where should I use that? In the same file that I am importing CustomEase?
  5. Hello all, I've been using gsap for quite a while with no problems, but today I started experimenting with CustomEase. I dowloaded the zip file and ran npm install for the .tgz file on the "npm-install-this" folder. After that I went to the js file in which I was using CustomEase and I added at the beginning of the file: import 'gsap/CustomEase'; And then where I wanted to use the easing function I did: CustomEase.create('custom', 'M0,0,C0.126,0.382,0.324,0.584,0.482,0.732,0.553,0.798,0.612,0.78,0.69,0.796,0.69,0.796,0.816,0.842,0.816,0.842,0.84,0.862,0.859,0.879,0.893,0.918,0.918,0.946,0.951,1,1,1'); But when I ran the easing it gave me the error ReferenceError: CustomEase is not defined. Am I missing something?
×
×
  • Create New...