Sha256: b6803cb2c1f6bbe1ff8c5cf02e78453c4c8ad0f245eae71e4455cd83f2dd68a7
Contents?: true
Size: 707 Bytes
Versions: 3
Compression:
Stored size: 707 Bytes
Contents
/* --- script: Checkbox.js description: On/Off widget license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Native.Input provides: - LSD.Native.Input.Checkbox ... */ LSD.Native.Input.Checkbox = new Class({ Extends: LSD.Native.Input, options: { pseudos: Array.fast('checkbox', '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/Checkbox.js |
lsd_rails-0.1.1 | Packages/lsd-native/Source/Input/Checkbox.js |
lsd_rails-0.1 | Packages/lsd-native/Source/Input/Checkbox.js |