Jump to content
GreenSock

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

Timeline

.removePause()

.removePause( position:* ) : *

Removes pauses that were added to a timeline via gsap.addPause().

Parameters

position: *

The time (or label) where the pause should be removed from.

Returns : *

self (makes chaining easier)

Details

Removes pauses that were added to a timeline via timeline.addPause().

  1. var tl = gsap.timeline();
  2. tl.to(obj, {duration: 1, x: 100})
  3. .addPause() //added at time of 1
  4. .to(obj, {duration: 1, opacity: 0});
  5. //later on remove the pause
  6. tl.removePause(1);
Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×