gaffa-button

1.2.0 • Public • Published

gaffa-button

A button view for use in gaffa

Example

testfile

Install:

npm i gaffa-button

Add to gaffa:

var Button = require('gaffa-button');

gaffa.registerConstructor(Button);

API

Properties (instanceof Gaffa.Property)

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

text (get, set) Boolean

Whether or not the element is checked

type (get) String

The elements type attribute

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    2
  • 1.1.1
    0
  • 1.1.0
    0
  • 1.0.0
    1

Package Sidebar

Install

npm i gaffa-button

Weekly Downloads

3

Version

1.2.0

License

MIT

Last publish

Collaborators

  • korynunn