animation动画transitionend事件多个效果多次触发的问题求解

发布于 7 年前作者 luoxiuying5715 次浏览最后编辑 7 年前来自 ask

创建一个动画,然后添加多个效果:animation.top().scale().opacity().xxx(一共添加了n个想过).export(),transitionend会触发n次,才疏学浅,想问一下这个机制合理么?

2 回复
rchang
rchang1 楼6 年前

你好,请提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

luojie
luojie2 楼5 年前

请问

transitionend

和animationend这些事件是怎么添加的啊,没有找到bindtransitionend这种方法