Sha256: 38fd75b881a1aaf4682f885e890ac036f4bce14d99d59565f696db0d5468b967

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

/*
---
 
script: Checkbox.js
 
description: Boolean checkbox type of input
 
license: Public domain (http://unlicense.org).

authors: Yaroslaff Fedin
 
requires:
  - LSD.Widget.Input
  - LSD/LSD.Mixin.Touchable
  - LSD/LSD.Mixin.Focusable
  - LSD/LSD.Mixin.Command

provides: 
  - LSD.Widget.Input.Checkbox
 
...
*/
LSD.Widget.Input.Checkbox = new Class({
  options: {
    tag: 'input',
    shortcuts: {
      space: 'toggle'
    },
    pseudos: Array.fast('clickable', 'focusable', 'checkbox', 'value', 'form-associated')
  }
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lsd_rails-0.1.2 Packages/lsd-widgets/Source/Input/Checkbox.js
lsd_rails-0.1.1 Packages/lsd-widgets/Source/Input/Checkbox.js
lsd_rails-0.1 Packages/lsd-widgets/Source/Input/Checkbox.js