Sha256: 91c0cbca323aebb0b94c940bdf5d96f4cf05325a96fc69ad6772e1d405f36218
Contents?: true
Size: 712 Bytes
Versions: 3
Compression:
Stored size: 712 Bytes
Contents
/* --- script: Radio.js description: One-from-a-list kind of a widget license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Native.Input provides: - LSD.Native.Input.Radio ... */ LSD.Native.Input.Radio = new Class({ Extends: LSD.Native.Input, options: { pseudos: Array.fast('radio', 'clickable'), events: { _checkbox: { self: { setDocument: function() { if (this.attributes.checked) this.click(); }, check: function() { this.element.checked = true; }, uncheck: function() { this.element.checked = false; } } } } } });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lsd_rails-0.1.2 | Packages/lsd-native/Source/Input/Radio.js |
lsd_rails-0.1.1 | Packages/lsd-native/Source/Input/Radio.js |
lsd_rails-0.1 | Packages/lsd-native/Source/Input/Radio.js |