The slider plugin has the following options:
disabled
default: false
Sets the default state of the slider to disabled when "true".
$('.selector').slider({ disabled: "true" });
initSelector
default: "input[type='range'], :jqmData(type='range'), :jqmData(role='slider')"
This is used to define the selectors (element types, data roles, etc.) that will automatically be initialized as sliders. To affect all selects, this option can be set by binding to the mobileinit event:
$( document ).bind( "mobileinit", function(){ $.mobile.slider.prototype.options.initSelector = ".myslider"; });
theme
default: null, inherited from parent
Sets the color scheme (swatch) for all instances of this widget. It accepts a single letter from a-z that maps to the swatches included in your theme.
$('.selector').slider({ theme: "a" });
This option can be overridden in the markup by assigning a data attribute to the input, e.g. data-theme="a".
data-theme="a"
trackTheme
Sets the color scheme (swatch) for the slider's track, specifically. It accepts a single letter from a-z that maps to the swatches included in your theme.
This option can be overridden in the markup by assigning a data attribute to the input, e.g. data-track-theme="a".
data-track-theme="a"