.removePause()

.removePause( position:* ) : *
删除通过TimelineMax.addPause() 添加到时间轴的暂停点。
var tl = new TimelineMax();
tl.to(obj, 1, {x:100})
  .addPause() //在1秒处插入暂停
  .to(obj, 1, {opacity:0});
 
//移除暂停
tl.removePause(1);
.removePause()适用于TimelineMax

.removePause()的参数

参数 类型 必填 说明
position * 从哪个时间点或者标签移除暂停

.removePause()返回值

返回该时间轴以便链式调用。

转载原创文章请注明:文章转载自:TweenMax中文网 [https://www.tweenmax.com.cn]
本文地址:https://www.tweenmax.com.cn/api/timelinemax/removePause()