0.2.0 • Published 6 years ago

spinner-basis v0.2.0

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

Spinner Basis

Simple loading spinner component

Works on modern browsers only (uses es6 modules and css custom properties)

Usage

You need to create a spinner instance in order to use it:

let spinner = new Spinner();

This will create a #spinner DOM element that you can control via the API :

Spinner: show()

The #spinner element will simply appear on screen:

spinner.show();

Spinner: hide()

And, I know you got it, the #spinner element will be hidden with:

spinner.hide();

0.2.0

6 years ago

0.1.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago