HTML: Difference between revisions
Created page with "A reference for HTML5 elements ==Inputs== See [https://getbootstrap.com/docs/4.4/components/forms/ Bootstrap forms] ===Range=== [https://developer.mozilla.org/en-US/docs/Web..." |
|||
Line 9: | Line 9: | ||
<input type="range" class="" id="myRange" min="1" max="100" value="50" step="1"> | <input type="range" class="" id="myRange" min="1" max="100" value="50" step="1"> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
;Events | |||
* See [https://stackoverflow.com/questions/18544890/onchange-event-on-input-type-range-is-not-triggering-in-firefox-while-dragging SO Answer] | |||
* <code>input</code> triggered when the value of the slider is changed | |||
* <code>change</code> triggered on mouse up | |||
==Video== | ==Video== |
Revision as of 13:10, 28 January 2020
A reference for HTML5 elements
Inputs
See Bootstrap forms
Range
<input type="range" class="" id="myRange" min="1" max="100" value="50" step="1">
- Events
- See SO Answer
input
triggered when the value of the slider is changedchange
triggered on mouse up
Video
See JavaScript
Canvas
See JavaScript