Closed SamHasler closed 10 years ago
You need to instantiate the slider widget by hand if you just download the slider widget, because you need page and autoinit if you want jQuery Mobile to instantiate it for you.
Look at http://jsbin.com/acIRUBo/73.
There's still a problem, however, because the input isn't degraded to a text input, and the slider does not handle the mouse for some reason.
I've moved this issue to jquery/jquery-mobile#7383.
Thanks, that's very helpful.
As far as I can tell instantiation for partial builds isn't documented anywhere. There should probably be a separate issue for that too.
(It would have been helpful if it tells you on the build page when you only have a partial build selected)
@gabrielschulhof The slider on this doesn't appear to work: http://jsbin.com/acIRUBo/73. I can't drag it or click on the track to move it.
I've modified it here: http://jsbin.com/acIRUBo/77/edit and it responds to clicks on the track, but the handle can't be dragged with the mouse or touchscreen.
Steps to reproduce:
Example page:
http://jsbin.com/acIRUBo/72/edit
I've just removed the jquerymobile js and pasted in the js from the zip and a slider. I see the native slider in Chrome and IE11.