Hello. In addition to the animation, I want to add a style property for the class: "pointer-events: none".
I did it like this:
gsap.to(document.querySelector('.contfeed'),{duration:0.5, opacity:0.1, onComplete:function() {document.querySelector('.contfeed').style.pointerEvents = "none";} })
It works, but I wanted to ask, is this the right decision?