let dataTween = gsap.to("#img", {
scrollTrigger: {
trigger: "#img",
start: "top bottom",
end: "bottom+=5% bottom",
startTrigger: "#img-container",
endTrigger: "#img-container",
},
data = dataArray,
});
I get a "Uncaught SyntaxError: Invalid shorthand property initializer" error.