Hello,
Just wondering if there's a list somewhere in the documentation or elsewhere showing all the none regular css properties that can be tweened. Properties such as xPercent, rotationX, rotationY etc.
Thanks!
I think you may be misunderstanding - there is no pre-defined list of properties that GSAP can handle or recognize. It’s super flexible. You can literally do this:
let myObject = {someProp: 100};
gsap.to(myObject, {
someProp: 500,
onUpdate: () => console.log(myObject.someProp)
});
You mentioned transformOrigin - that’s just a standard CSS property “transform-origin” but you simply camelCase those in JavaScript because JavaScript can’t accommodate dashes like that (it’d