2.3.0 • Published 8 years ago

dat-button v2.3.0

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

dat-button

A dat style button.

WIP

Example

const button = require('dat-button')

const el = button({
  text: 'BUTTON',
  style: {
    color: 'black'
  },
  click: () => console.log('click'),
  klass: 'my-class'
}, onclick)

document.body.appendChild(el)

API

button({ text, style, click })

2.3.0

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago