Share Posted January 12, 2016 Hi all, When you attach a timeline to an element; does GSAP attach a node parameter (within the list of offsetX, offsetHeight, nextSibling, etc) that I can gather information about and ultimately tween if needed? Having trouble finding this. Thanks! Link to comment Share on other sites More sharing options...
Share Posted January 12, 2016 Hi zachschnackel if i understood correctly , nope GSAP just make ._gsTransform object ; as you can read in CssPlugin Doc : All transforms are cached in a _gsTransform object attached to the element, so you can tween individual properties without worrying that they'll be lost. You don't need to define all of the transform properties on every tween - only the ones you want to animate. You can read the transform-related values anytime, like element._gsTransform.scaleX 2 Link to comment Share on other sites More sharing options...
Author Share Posted January 12, 2016 Ok thanks for confirming! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now