Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    gaffa-buttonpublic

    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

    install

    npm i gaffa-button

    Downloadslast 7 days

    1

    version

    1.2.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar