Jump to content
GreenSock

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

lbineau

Members
  • Posts

    0
  • Joined

  • Last visited

lbineau's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Really nice tutorial ! I'm wondering if it could be possible to get a param of an object directly in the tween. Let me explain. For example, I want the wrapper to appear from the top. This is what I'm doing : var h = $('#demoWrapper').height(); and use it in the tween tl.from("#demoWrapper", 0.5, {top:-h}); But would it be possible to dynamically get the property of the object we are tweening in GSAP with a similar syntax ? tl.from("#demoWrapper", 0.5, {top:'-{self}.height'});
×