/minimal-counter

minimal counter

Primary LanguageJavaScript

minimal-counter

minimal counter

Demo

Installation

$ component install mnmly/minimal-counter

Usage

  var MinimalCounter = require( 'minimal-counter' ),
      minimalCounter = new MinimalCounter( 100 );
  
  document.body.appendChild( minimalCounter.el );
  minimalCounter.update( 80 );

API

MinimalCounter::update

Updates to the number

License

MIT