ustbhuangyi/better-scroll

[New Feature] need wheel's disabled option #712

hezhongfeng posted onGitHub

What problem does this feature solve?

I use the wheel to make a picker like demo.Now I want to create some options which can't be picked. gj

What does the proposed API look like?

like:

wheel:{
  selectedIndex: 0,
  rotate: 25,
  adjustTime: 400,
  wheelWrapperClass: 'wheel-scroll',
  wheelDisabledItemClass: 'wheel-disabled-item',
  wheelItemClass: 'wheel-item'
}

<!-- generated by cube-issue-helper. DO NOT REMOVE -->


报告一下,已经通过自己的测试了,目前正在整理所有需要修改的地方,涉及的地方挺多的,我自己再优化一下,感觉写出来后不是很容易懂(拖这么久是因为发现了滴滴金融Mand Mobile这里也有问题,先给他们修复了个东西)

posted by hezhongfeng over 6 years ago

@issuehuntfest has funded $20.00 to this issue. See it on IssueHunt

posted by IssueHuntBot about 6 years ago

Fund this Issue

$20.00
Funded
Only logged in users can fund an issue

Pull requests

Recent activities

hezhongfeng submitted an output to  ustbhuangyi/ better-scroll# 712
over 5 years ago
issuehuntfest funded 20.00 for ustbhuangyi/better-scroll# 712
about 6 years ago