这段代码看不懂
麻烦逐行解释一下,参数的意义。谢谢
const animation = wx.createAnimation({ duration: 1000, timingFunction: 'ease',
}) this.animation = animation
animation.scale(2, 2).rotate(45).step() this.setData({ animationData: animation.export()
})
setTimeout(function () {
animation.translate(30).step() this.setData({ animationData: animation.export()
})
}.bind(this), 1000)