QuickTip: Play Pause Toggle Button for Timelines or Tweens

Опубликовано: 15 Октябрь 2014
на канале: GSAP Learning
10,419
38

This video shows you how to use the paused() method to easily toggle the paused() state of a GSAP animation (timeline or tween). Includes a nifty JavaScript trick for toggling the button text too. Same methods apply to toggling the reversed state too.

We are happy to help with any GSAP questions or problems at: http://greensock.com/forums/forum/11-...

Would you like to have a GreenSock expert spend a day or two with your team? Our Enterprising Training is guaranteed to take your team to new heights with HTML5 animation. http://www.greensock.com/training

Be sure to read our Getting Started article at: http://greensock.com/get-started-js