gaffa-checkbox

1.1.0 • Public • Published

gaffa-checkbox

A checkbox view for use in gaffa

Install:

npm i gaffa-checkbox

Add to gaffa:

var Checkbox = require('gaffa-checkbox');

gaffa.registerConstructor(Checkbox);

API

Properties (instanceof Gaffa.Property)

gaffa-checkbox inherits all properties from the base Gaffa.View

checked (get, set) Boolean

Whether or not the element is checked

text (get) String

The elements label text

showLabel (get) Boolean

Whether or not to render the label

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    3
  • 1.0.1
    3
  • 1.0.0
    3

Package Sidebar

Install

npm i gaffa-checkbox

Weekly Downloads

6

Version

1.1.0

License

MIT

Last publish

Collaborators

  • korynunn