Requires

Provides

Range.js

Range slider input

License:
Public domain (http://unlicense.org).
Authors:
Yaroslaff Fedin
  1. 26
  2. 27
  3. 28
  4. 29
  5. 30
  6. 31
  7. 32
  8. 33
  9. 34
  10. 35
  11. 36
  12. 37
  13. 38
  14. 39
  15. 40
  16. 41
  17. 42
  18. 43
  19. 44
  20. 45
  21. 46
  22. 47
LSD.Widget.Input.Range = new Class({ Includes: [ LSD.Widget.Paint, LSD.Trait.Slider, LSD.Trait.Accessibility ], options: { tag: 'input', shortcuts: { next: 'increment', previous: 'decrement' }, layout: { children: { '>thumb[shape=arrow]#thumb': {} } }, writable: true }, initialize: function() {

delete this.options.events.focus.element.mousedown;

  1. 49
  2. 50
  3. 51
  4. 52
  5. 53
  6. 54
  7. 55
  8. 56
  9. 57
  10. 58
  11. 59
  12. 60
  13. 61
  14. 62
  15. 63
  16. 64
this.parent.apply(this, arguments); this.addPseudo(this.options.mode); }, onSet: function() { this.focus(); } }); LSD.Widget.Input.Range.Thumb = new Class({ Extends: LSD.Widget.Button, options: { tag: 'thumb' } });