sioux-ui-button

0.1.2 • Public • Published

Sioux UIButton

npm install sioux-ui-button

Overview

The UIButton class lets you create buttons with some styling and with touch events.

Inheriths from:

  • sioux-ui

html:

<button class="foo">Click me!</button>

javascript:

var UIButton = require('sioux-ui-button');
var button = new UIButton(document.querySelector('.foo'));
 
button
.on('tap', function (event) {
  console.log('Tapped!');
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    1
    • latest

Version History

Package Sidebar

Install

npm i sioux-ui-button

Weekly Downloads

13

Version

0.1.2

License

none

Last publish

Collaborators

  • gerhardberger