buttoncounter

Button with counter of clicks.

Usage no npm install needed!

<script type="module">
  import buttoncounter from 'https://cdn.skypack.dev/buttoncounter';
</script>

README

ButtonCounter

Button with counter of clicks.

Installation

The easiest way to install ButtonCounter is from npm:

npm install buttoncounter

HowToUse

Createbutton with special class btnCounter by clicking on it in the text will display the number of clicks.

By default, the button is inserted at the end of the body.