Update slider.html
This commit is contained in:
parent
564c9704f6
commit
9b46e672b4
@ -95,8 +95,7 @@
|
||||
Use sliders to make an easy range from min to max values
|
||||
<br><br>
|
||||
<h2>How to use it?</h2>
|
||||
As seen in the example this is one of the rare occurrences where you will need to use javascript to get values from the input.<br>
|
||||
You can use normal javascript you would use to read from input fields as done below to get your values.
|
||||
As seen in the example this is one of the rare occurrences where you will need to use javascript to get values from the input.
|
||||
<br><br>
|
||||
<input type="range" min="1" max="100" value="0" class="range-slider-rounded" id="slider">
|
||||
<span>Span Value: </span><span id="output">0</span>
|
||||
@ -138,4 +137,4 @@
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/highlight.min.js"></script>
|
||||
<script>hljs.highlightAll();</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user