-
Notifications
You must be signed in to change notification settings - Fork 141
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
[comp:Carousel] feature Carousel component #230
Comments
dots 和dotsClass还是区分开来做成两个不同的接口吧;dots就单纯的控制是否展示;dotsClass就单纯的定义dots的自定义类;混在一起在使用和认知上感觉还是不大好,尽量保持一个属性的功能定位纯粹一些 |
afterChange 和beforeChange的说明给区别一下;切换面板前的回调和切换面板后的回调 |
Emits 新增 change, 切换后的回调,就是你现在的 |
干脆 dots 只支持 boolean 吧, object 的形式以后有需求再加。 |
走马灯的使用场景基本都是轮播吧,canDeactivate暂时没有想到使用场景,后面业务有需要的话可以再补充; |
API已修改 |
What problem does this feature solve?
走马灯,展示一组轮播的区域,常用于一组图片或卡片轮播
What does the proposed API look like?
API
bottom
top
bottom
left
right
linear
scrollx
|fade
scrollx
Emits
Methods
The text was updated successfully, but these errors were encountered: