mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-01 06:46:49 -04:00
Added Slider component
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<div class="component component-slider">
|
||||
<label class="tap-highlight">
|
||||
<span class="label-container">
|
||||
<span class="label">{{{label}}}</span>
|
||||
<span class="value-wrap">
|
||||
<span class="value-pad"></span>
|
||||
<input type="tel" class="value" />
|
||||
</span>
|
||||
</span>
|
||||
<span class="input">
|
||||
<input
|
||||
data-manipulator-target
|
||||
class="slider"
|
||||
type="range"
|
||||
min="{{min}}"
|
||||
max="{{max}}"
|
||||
step="{{step}}"
|
||||
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
|
||||
/>
|
||||
</span>
|
||||
</label>
|
||||
{{if description}}
|
||||
<div class="description">{{{description}}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user