0.0.2 • Published 10 years ago
ispinner v0.0.2
Ispinner
A simple ios spinner built with css3 animation.

Install
npm i ispinner -SUsage
var ispinner = require('ispinner')
var el = document.getElementById('#spinner')
ispinner(el, {white: true})API
ispinner(el, option)
elis parent element to attach spinner elementoptionis optional, it containswhiteandwidth- when
whiteis true, spinner would be white color - when
widthis set, it would be applied to el.style.width and el.style.height.
- when
- spinner element is returned