Sha256: f32ec341093ab94fc950116bc4a278c77eeb8fe4a036e4635575ded31ee0b45a
Contents?: true
Size: 1005 Bytes
Versions: 3
Compression:
Stored size: 1005 Bytes
Contents
/* --- script: Range.js description: Range slider input license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Widget.Input - LSD.Widget.Button - LSD/LSD.Widget - LSD/LSD.Trait.Slider - LSD/LSD.Mixin.Focusable provides: [LSD.Widget.Input.Range] ... */ LSD.Widget.Input.Range = new Class({ Extends: LSD.Trait.Slider, options: { tag: 'input', shortcuts: { next: 'increment', previous: 'decrement' }, layout: Array.fast('::thumb'), has: { one: { thumb: { selector: 'thumb', source: 'input-range-thumb' } } }, pseudos: Array.fast('focusable', 'value', 'form-associated') }, initialize: function() { this.parent.apply(this, arguments); this.addPseudo(this.options.mode); }, onSet: function(value) { this.setValue(value); } }); LSD.Widget.Input.Range.Thumb = new Class({ Extends: LSD.Widget.Button, options: { tag: 'thumb' } });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lsd_rails-0.1.2 | Packages/lsd-widgets/Source/Input/Range.js |
lsd_rails-0.1.1 | Packages/lsd-widgets/Source/Input/Range.js |
lsd_rails-0.1 | Packages/lsd-widgets/Source/Input/Range.js |