Hmm.. So I tried the Attribute Plugin using this code, but it doesn't work with my SVG. Actually it doesn't seem to work with the basic div's either.
let elements = document.querySelectorAll('.button');
let clickEvent = (e) => {
console.log('some event content here...')
console.log("----------------" + e.target.id + "----------------------")
}
elements.forEach((item) => {
item.addEventListener("mouseenter", ()=>{
gsap.to(item, {attr: {fill: "#F2653A"}, duration: 1, overwrite: "auto" });
});
item.addEventListener("mouseout", ()=>{
gsap.to(item, {attr: {fill: "red"} ,duration: 1, overwrite: "auto" });
});
item.addEventListener('click', clickEvent)
});
});