Update demo HTML to use makeRangeControl.
Chris Pressey
8 years ago
32 | 32 | |
33 | 33 | yoob.makeLineBreak(container); |
34 | 34 | |
35 | yoob.makeSliderPlusTextInput(container, "Speed:", 0, 100, 5, 50, function(v) { | |
36 | console.log('new speed:' + v); | |
35 | yoob.makeRangeControl(container, { | |
36 | label: "Speed:", | |
37 | min: 0, | |
38 | max: 100, | |
39 | value: 50, | |
40 | callback: function(v) { | |
41 | console.log('new speed:' + v); | |
42 | } | |
37 | 43 | }); |
38 | 44 | |
39 | 45 | yoob.makeLineBreak(container); |