Skip to content

Instantly share code, notes, and snippets.

View andyburke's full-sized avatar

Andy Burke andyburke

  • Otto Financial
  • Los Angeles, CA
  • X @andybrk
View GitHub Profile
@andyburke
andyburke / jquery.spin.js
Created February 27, 2012 20:56 — forked from innotekservices/jquery.spin.js
jQuery Plugin for Spin.js
/*
You can now create a spinner using any of the variants below:
$("#el").spin(); // Produces default Spinner using the text color of #el.
$("#el").spin("small"); // Produces a 'small' Spinner using the text color of #el.
$("#el").spin("large", "white"); // Produces a 'large' Spinner in white (or any valid CSS color).
$("#el").spin({ ... }); // Produces a Spinner using your custom settings.
$("#el").spin(false); // Kills the spinner.