-
这个特性解决了什么问题?现在taro做动画使用的Taro.createAnimation 这个api非常难用,经常卡顿,而且一个页面中多个动画会相互影响。所以,微信小程序为了解决此问题,已经优化升级了,升级说明可以见https://developers.weixin.qq.com/miniprogram/dev/framework/view/animation.html 咱们taro是否会跟进升级。 这个 API 长什么样?期望taro能尽快升级跟进,目前的这个.createAnimation 太难用了 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
直接把小程序中的 |
Beta Was this translation helpful? Give feedback.
-
这个getCurrentInstance和animation有什么关系,里面没有动画属性呢,能把taro如何使用小程序最新的动画方法说的仔细一些吗 |
Beta Was this translation helpful? Give feedback.
-
可以参考这个人的写法 |
Beta Was this translation helpful? Give feedback.

Taro.getCurrentInstance().page就是返回小程序的page对象 ,Taro.getCurrentInstance().page?.animate就等于this.animate可以参考这个人的写法
#11700