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