This repository has been archived by the owner. It is now read-only.
loading animation with dots
JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
component.json
readme.md

readme.md

deprecated

dots

loading animation with dots. demo

install

$ component install ramitos/dots

example

var dots = require('dots');

var loading = dots(document.getElementById('loading'));

loading.start();

setTimeout(function () {
  loading.stop();
}, 5000);

setTimeout(function () {
  loading.rm();
}, 6000);

api

dots(element[, interval])

interval defaults to 250ms

start()

stop()

rm()

license

MIT