Noahdecoco
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Noahdecoco
-
-
Hi,
How can I get the actual width of an element after scaling it with Tweenmax?
Example:
$('#myDiv').width(100); // Sets width of #myDiv to 100; TweenMax.set($('#myDiv'), {scale:1.2}); console.log($('#myDiv').width()); // gives 100 instead of 120
How can I get the actual width of the div?
Thanks a lot in advance, this thing is frustrating me and breaking my head today...
Get width after scale
in GSAP
Posted
Thanks guys, that helped clear stuff.