Jump to content
Search Community

Rithika

Members
  • Posts

    1
  • Joined

  • Last visited

Rithika's Achievements

  1. When an element has been transformed using gsap, for eg, something like timeline.to(myElement, {y:10}) the top of the element returned by myElement.getBoundingClientRect().top is unchanged. I want to get the new top of the element after it has been transformed. My animation has multiple steps and positions for elements and it would be helpful to get the updated values every time instead of having to compute it from the original position. How can I do this?
×
×
  • Create New...