Skip to content

yoshuawuyts/button-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

button-component

NPM version build status Test coverage Downloads js-standard-style

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"></button>

License

MIT

About

Create an extendable customElement button

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published