pause
{{ index / 10 }}
tl.to(".green-box", { x: {{ endX }}, duration: 1 }
,
{{ formattedPosition }}
);
tl.to(".green-box", {
x: {{ endX }}, duration: 1
}
,
{{ formattedPosition }}
);
GSAP动画播放时间点选择
Reference Point
Start of timeline 时间线
起点
End of timeline 时间线
终点
<
Start of
previous animation
前一个添加动画的
起点
>
End of
previous animation
前一个添加动画的
终点
myLabel
Label 标记
Offset
Seconds 秒
Percent 百分比
Use percentage of
previous animation