lopespm / mobiscroll

Automatically exported from code.google.com/p/mobiscroll
1 stars 0 forks source link

Need to Make hours wheel invalid in preset : time #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
No documentation to use invalid for whole wheel

Hours wheel should be unselectable.

version of the mobiscroll 2.0.2

Original issue reported on code.google.com by sweetpin...@gmail.com on 11 Sep 2012 at 6:16

GoogleCodeExporter commented 8 years ago
You cannot make a whole wheel invalid, but as of version 2.1 you can use the 
'readonly' option to make one ore more wheels unscrollable.

In this specific case:

$('#test').scroller({
  preset: 'time',
  readonly: [true, false, false]
});

Original comment by diosla...@gmail.com on 2 Nov 2012 at 2:40