We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<view class="test"> <view wx:for="{{testData}}" wx:key="{{index}}" class="test-box" animation="{{item.anim}}" bindtransitionend="onTransitionEnd"> </view> </view>
anim 的动画结束之后不会执行 onTransitionEnd 回调
anim
onTransitionEnd
当不用 wx:for 的时候就是 ok 的,如下:
wx:for
<view class="test"> <view class="test-box" animation="{{testData[0].anim}}" bindtransitionend="onTransitionEnd"> </view> <view class="test-box" animation="{{testData[1].anim}}" bindtransitionend="onTransitionEnd"> </view> <view class="test-box" animation="{{testData[2].anim}}" bindtransitionend="onTransitionEnd"> </view> </view>
The text was updated successfully, but these errors were encountered:
在 wx:for 的子元素上面的 bindtransitionend 也会无效
bindtransitionend
Sorry, something went wrong.
No branches or pull requests
anim
的动画结束之后不会执行onTransitionEnd
回调当不用
wx:for
的时候就是 ok 的,如下:The text was updated successfully, but these errors were encountered: