If I create a className tween...
TweenMax.to(element, 1, {className: '+=expanded'});
...and the new class changes the width of the element, the width will be tweened.
Is there a way to get the ending value of the width tween before the tween is complete?
For example, the tweened element's original style sets its width to 300px, but the 'expanded' class changes the width to 50%. The element's container is 1500 pixels wide when the tween is created, so the calculated width would be 750 pixels (i.e. 50% of 1500 pixels).
It seems TweenMax must have this value at some point otherwise it would not know what to tween the width to, but I don't see any documented way to retrieve it.
Thanks,
Ethan