Skip to content
New issue

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

Swiper的onchange 事件,需要source属性 #14653

Closed
jianhao2010303 opened this issue Oct 11, 2023 · 0 comments · Fixed by #14661, #14688 or #14690
Closed

Swiper的onchange 事件,需要source属性 #14653

jianhao2010303 opened this issue Oct 11, 2023 · 0 comments · Fixed by #14661, #14688 or #14690
Labels
A-components Area - H5 组件库相关 E-medium Helper Wanted - Medium enhancement New feature or request T-h5 Target - 编译到 H5

Comments

@jianhao2010303
Copy link

这个特性解决了什么问题?

Swiper的onchange 事件,需要source属性,用来判断是touch切换还是其他方式切换的。

这个 API 长什么样?

Swiper的onchange 在h5下返回detail的source

@taro-bot2 taro-bot2 bot added enhancement New feature or request labels Oct 11, 2023
@ZakaryCode ZakaryCode added A-components Area - H5 组件库相关 E-medium Helper Wanted - Medium T-h5 Target - 编译到 H5 labels Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-components Area - H5 组件库相关 E-medium Helper Wanted - Medium enhancement New feature or request T-h5 Target - 编译到 H5
Projects
Archived in project
2 participants