Sorry, we don't support your browser.  Install a modern browser

Adding gsap.set#47

Adding a set option and not only from and to would be amazing, because right now there are times that I honestly don’t know what to expect when I just want to set something, for example: set “display: flex” to a class that has “display: none”

3 years ago
1
Changed the status to
Planned
3 years ago
1

Another way is to allow us to put a duration of 0, so gsap.to(“.class”, {duration: 0, opacity: 1}); would be the same as gsap.set(“.class”, {opacity: 1});

2 years ago