bytespin
spinner nanocomponent that cycles through a given list of characters ( demo )
installation
npm install --save bytespin
usage
spinner = Spinner(opts)
creates a new Spinner instance.
chars: string // characters to cycle through speed: number // spinning speed in ms
example
var Spinner = var spinner = { return ` <div> </div>`}