Create spinners using utf8 characters
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
GPL-LICENSE.txt
MIT-LICENSE.txt
README.md
index.html
jquery-spinner.js
jquery-spinner.min.js
package.json

README.md

jQuery-spinner

Generate spinner using UTF8 html entities loop.

Demo: http://adriengibrat.github.com/jQuery-spinner

Usages examples:

$( '#content' )
	// Append custom spinner to element with spinner method
	.spinner( 2, 'dotspin' )
	// Once content loaded, spinner is 'overwrited'
	.load( 'page.html' )
	// Add default spinner 'manually'
	.prepend( $.spinner(  ) )
	// Get spinner with special selector
	.find( ':spinner' )
	// Stop spinner
	.spinner( false )
	// Restart spinner
	.spinner( true );
// Automatically append custom spinner to body on every ajax call
$.spinner.ajax( 1, 'dots' );
// Remove automatic spinner on ajax call
$.spinner.ajax( false );