dat-button
2.3.0 • Public • Published 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 })
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads