htw-stencil-counter

Stencil clickcounter webcomponent for HTW students

Usage no npm install needed!

<script type="module">
  import htwStencilCounter from 'https://cdn.skypack.dev/htw-stencil-counter';
</script>

README

Stencil clickcounter component

A simple counter component, with four attributes (startnumber, min, max, step) and css variables for reuse with different color schemes.

Getting Started

Clone this repo to a new directory:

git clone https://github.com/tobiasbalmer/htw-stencil-counter.git stencil-counter
cd stencil-counter
git remote rm origin

and run:

npm install
npm start

You can work in your-counter, the solution is in click-counter.

Helpful links