Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

iloveitaly/jquery.loadmask.spin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery LoadMask Spinner Plugin

Based off of the loadmask jQuery plugin and inspired by the MooTools Spinner class. Adds a customizable overlay to the element being masked and adds a spinner graphic along with a label on top of the overlay.

Uses spin.js for spinner generation. Note that spin.js is not included by default, you'll have to pull that into your project for yourself.

Customization & Usage

$('#element').mask();
$('#element').mask({
	spinner: { lines: 10, length: 5, width: 3, radius: 10},
	delay: 1000
});
$('#element').unmask();

Checkout the options for additional customization options.

Authors

  • Sergiy Kovalchuk
  • Michael Bianco (@iloveitaly)

License

Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.