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

【Feature Request】计数组件 #39

Closed
virtualChan opened this issue Jan 14, 2019 · 2 comments
Closed

【Feature Request】计数组件 #39

virtualChan opened this issue Jan 14, 2019 · 2 comments
Labels
Feature Issue 提出了一个新功能

Comments

@virtualChan
Copy link

virtualChan commented Jan 14, 2019

** 描述你希望的支持的新功能?**
计数组件(不知道这么叫合适不。。),选择商品数量的时候用到,由增加、减少、数量三个元素组成(例如:- 1 + ),点击增加/减少,数量会对应增加/减少。

** 你期望的 API 是怎样的?**
1.可以设置最大值和最小值,当数量等于最大值/最小值时,继续点击增加/减少会触发一个事件;
2.当数值成功发生改变时触发一个事件;
3.组件有个属性,控制是否数值成功改变时带动画效果
4.组件有个属性,数值成功改变时动画效果类型,可选:效果1(默认),效果2,效果3

@7insummer
Copy link
Contributor

感谢,这个我们是确定会在未来支持的。

@7insummer 7insummer added the Feature Issue 提出了一个新功能 label Jan 14, 2019
@7insummer
Copy link
Contributor

alpha-13版本已支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Issue 提出了一个新功能
Projects
None yet
Development

No branches or pull requests

2 participants