spa-component-button
v1.0.1
Published
Base button implementation.
Downloads
4
Maintainers
Readme
Button component
Button is a component to build user interface, an instance of Component module. A page can't contain other components.
Installation
npm install spa-component-button
Usage
Add the singleton to the scope:
var button = require('spa-component-button');
Development mode
There is a global var
DEVELOP
which activates additional consistency checks and protection logic not available in release mode.
Contribution
If you have any problem or suggestion please open an issue here. Pull requests are welcomed with respect to the JavaScript Code Style.
License
spa-component-button
is released under the MIT License.