1.0.2 • Published 9 years ago
button-component v1.0.2
button-component
Create an extendable customElement button.
Installation
$ npm install button-component
Usage
require('webcomponents.js')
document.registerElement('custom-button', require('button-component'))
const customButton = document.createElement('button', 'custom-button')
document.body.appendChild(customButton)
// => <button is="custom-button"></custom-button>