看来,设置最小/最大框架是一种合适的方式。
//if the animation has 60 frames
lottie_toggle.setMinAndMaxFrame(0,30) //to play the first half
lottie_toggle.setMinAndMaxFrame(30,60) //to play the second half
![]() |
失望的钢笔 · 04-jQuery动画:基本动画函数、折叠动 ...· 2 月前 · |
![]() |
坚韧的红薯 · jquery animate 多段动画 ...· 2 月前 · |
![]() |
胆小的排球 · 在使用主键(int)查询大表时,Postgr ...· 1 年前 · |
![]() |
阳光的皮带 · 【JS】实现 Base64 ...· 1 年前 · |
![]() |
没读研的足球 · 制作android视频播放器,自制andro ...· 1 年前 · |
![]() |
阳刚的皮带 · Internet 身份验证 - .NET ...· 1 年前 · |