Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

Available Node Parameters

Recommended Posts

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

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

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.