mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-22 13:21:52 +00:00
add step to slider example
This commit is contained in:
parent
d0911d3cd6
commit
1f6f149e83
1 changed files with 2 additions and 2 deletions
|
|
@ -42,12 +42,12 @@
|
|||
|
||||
<pre><code>
|
||||
<label for="slider-0">Input slider:</label>
|
||||
<input type="range" name="slider" id="slider-0" value="25" min="0" max="100" />
|
||||
<input type="range" name="slider" id="slider-0" value="25" min="0" max="100" step="5" />
|
||||
</code></pre>
|
||||
|
||||
<p>The default slider is displayed like this:</p>
|
||||
<label for="slider-0">Input slider:</label>
|
||||
<input type="range" name="slider-1" id="slider-0" value="25" min="0" max="100" />
|
||||
<input type="range" name="slider-1" id="slider-0" value="25" min="0" max="100" step="5" />
|
||||
|
||||
<p>Optionally wrap the slider markup in a container with the <code>data-role="fieldcontain"</code> attribute to help visually group it in a longer form.</p>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue