callback function allowed inside TL Max in GSAP Posted June 7, 2016 Hi all, Can you use use onComplete() method within TL max timeline or just in the creation of the TL object i.e, var tl = new TimelineMax({}) ? tl.to($var 3, {bottom:-50}) .to($var1, 1.5, {right:300, ease:Elastic.easeOut, onComplete:complete}); Thanks Nick
callback function allowed inside TL Max
in GSAP
Posted
Hi all,
Can you use use onComplete() method within TL max timeline or just in the creation of the TL object i.e, var tl = new TimelineMax({}) ?
tl.to($var 3, {bottom:-50})
.to($var1, 1.5, {right:300, ease:Elastic.easeOut, onComplete:complete});
Thanks
Nick