git @ Cat's Eye Technologies yoob.js / f59590e
Update demo HTML to use makeRangeControl. Chris Pressey 8 years ago
1 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3232
3333 yoob.makeLineBreak(container);
3434
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 }
3743 });
3844
3945 yoob.makeLineBreak(container);