Cople
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Cople
-
-
i find this: https://greensock.com/docs/#/HTML5/GSAP/TweenLite/vars/
and this is my code:
function tweenCompleteHandler() { alert("Complete!") }; TweenLite.prototype.vars.onComplete = tweenCompleteHandler; var animation = TweenLite.to("#box", 1, { x : 550 });
it didn't work? does TweenLite have something like jQuery.ajaxSetup() ?
-
How to set default values for callbacks?
in GSAP
Posted
3Q. but what i want is set as global default value like defaultEase do, not on a instance.