Thanks for the speedy reply!
I have looked at that plugin, but maybe I am using it improperly:
var param = {props: 150};
TweenMax.to(param, 0.5, {
props: 450,
roundProps: "props",
colorProps: {backgroundColor: "#ff0000"},
ease: Back.easeInOut,
repeat: 1,
yoyo: true,
onUpdate: this.updateCount,
onUpdateParams: ["{self}"]
});
updateCount(tween) {
console.log(tween.target); //Object {props: 150, _gsTweenID: "t1", colorProps: NaN}
}
What I am expecting/hoping to see is a representation of the color at the point of the onUpdate call... (colorProps: "#fff000" or something that can be coverted) Is there something inherently wrong with this implementation?