Hello there,
i'm wondering, is there a way to 'wrap' a DOM element so that i could easily get/set the current tween transforms, TweenLite-wise?
An example to be clear..
TweenLite.to(el1,1,{x:200,onUpdate:function(){
console.log(el1.x) //undefined
console.log(gswrapped(el1).x) //yay
}})
//or
gswrapped(el1).x=200;
//instead of the dreadful
TweenLite.to(el1,0,{x:200});
TIA for your attention!