Hi All,
I'm very sorry for not providing a CodePen example, but I am not experienced enough to quickly mock up a functional example of what I am writing.
I am attempting to create an overlay for broadcast.
Using HTML elements and gsap to move and fade them on and off the screen when needed.
I have the code to a point where I can make my elements fetch data and appear.
I am using a != comparison followed by an opacity tween when the script returns a different value. This is working, but now I need it to fade back in with the new information.
Following an old tutorial using TweenMax, they have just included an "onComplete:function()" to run a function that fetches the new data and plays another fade in of the updated elements.
Everything has worked using the gsap3 so far, but the "onComplete" method from the old Tweenmax does not seem to do the same thing it used to. So at this point I am stuck.
Can anyone point me to a method that can run a function at the end of a gsap.to/from ?
I am very grateful for any advice you may have.