BaoLuo
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by BaoLuo
-
-
Hello everyone!
Can anybody explain me why this variant of binding works
document.querySelector('.burger').addEventListener('click', _ => { burgerLine.play() })
and this one
document.querySelector('.burger').addEventListener('click', burgerLine.play)
causes the following error
Quotegsap.min.js:10 Uncaught TypeError: this.seek is not a function at HTMLButtonElement.play (gsap.min.js:10:19754)
How to bind animation start to browser event?
in GSAP
Posted
Thank you very much for such a detailed answer!