node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป

gaffa-button

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