Slider is a bit of an oddball, because it actually instantiates TWO
widgets (
slider
and
textinput
) on the same element. I don't think there is any other precedent
for that in jQuery Mobile?
In fact, I've taken note in the past that the design of jQuery
Mobile precludes (normally) instantiating two widgets on the same
element. Well, at least auto-initializing them. An element can only
have one data-role.
I thought about this when redesigning my own widget (for iScroll).
I wondered if I should be able to instantiate a scroller widget on an
element that is also, say, a listview. (In the old/current version,
you can - but it is because I do not use data-role to initialize
the widget - it uses data-iscroll). It could
be possible, but can't be achieved using the standard jQuery
Mobile data-role syntax.
Anyway, I think this might be considered a bug. It seems to me
that tearing-down the slider was inadvertently omitted.