add snippet demos to sliders component page

master
Marc Cohen 2015-07-01 23:49:36 +01:00
parent ab5457e56c
commit fb8495fdd4
4 changed files with 12 additions and 8 deletions

View File

@ -171,6 +171,12 @@ categories:
components:
- name: slider
class: mdl-slider
snippets:
- snippet_group:
- caption: Default slider
file: slider-default.html
- caption: Starting value
file: slider-starting-value.html
- name: toggles
title: Toggles
description: Choose between states.

View File

@ -7,12 +7,4 @@
<input class="mdl-slider mdl-js-slider" type="range"
min="0" max="100" value="10" tabindex="0"/>
</p>
<p>
<input class="mdl-slider mdl-js-slider" type="range"
min="0" max="100" value="0" tabindex="0" disabled/>
</p>
<p>
<input class="mdl-slider mdl-js-slider" type="range"
min="0" max="100" value="10" tabindex="0" disabled/>
</p>
</div>

View File

@ -0,0 +1,3 @@
<!-- Default Slider -->
<input class="mdl-slider mdl-js-slider" type="range"
min="0" max="100" value="0" tabindex="0"/>

View File

@ -0,0 +1,3 @@
<!-- Slider with Starting Value -->
<input class="mdl-slider mdl-js-slider" type="range"
min="0" max="100" value="25" tabindex="0"/>