Answers for "gsap callback/ onComplete"

0

gsap callback/ onComplete

gsap.to("#logo", {duration: 1, x: 100, onComplete: tweenComplete});

function tweenComplete() {
  console.log("the tween is complete");
}
Posted by: Guest on July-07-2021

Browse Popular Code Answers by Language