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

Html5 feature picker #1712

Closed

Conversation

zhangquan
Copy link
Contributor

html5支持picker组件,这个模块三端都会实现,相关pr:

测试用例: 单选picker例子

picker 选择器

  • 名字
  • picker
  • 类型
  • module
  • api
    1. 调用单选picker
      • pick( options )
        • options: 单选的字典
          index:默认选中的选项(int)
          items:picker数据源(array)
      • callback(options) 选择后回调
        • options:返回的选择结果的字典
          • result:结果三种类型 success,cancel, error(string)
          • data: 选择的选项(number),当result 等于 success时存在。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants