Ispinner
A simple ios spinner built with css3 animation.
Install
npm i ispinner -S
Usage
var ispinner =var el = document
API
ispinner(el, [option])
el
is parent element to attach spinner elementoption
is optional, it containswhite
andwidth
- when
white
is true, spinner would be white color - when
width
is set, it would be applied to el.style.width and el.style.height.
- when
- spinner element is returned