loading animation with dots. demo
$ component install ramitos/dots
var dots = require('dots');
var loading = dots(document.getElementById('loading'));
loading.start();
setTimeout(function () {
loading.stop();
}, 5000);
setTimeout(function () {
loading.rm();
}, 6000);
interval
defaults to 250ms
MIT