yoyo: Boolean
new TimelineMax({repeat: 1, yoyo: true});
.box {
width:50px;
height:50px;
border-radius:6px;
margin-top:4px;
}
.green{
background-color:#6fb936;
}
var tm = new TimelineMax({repeat: -1, yoyo: true});
tm.to(".box", 3, {x:500})
转载原创文章请注明:文章转载自:TweenMax中文网 [https://www.tweenmax.com.cn]
本文地址:https://www.tweenmax.com.cn/api/timelinemax/yoyo