1.1.0 • Published 9 years ago

gaffa-checkbox v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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

1.1.0

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago