jQuery Loading Overlay Plugin
npm install jquery-loading-overlay

jQuery Loading Overlay Plugin
Uses Javascript to add/remove a loading overlay to a target element. It can be
called on any element that should receive the loading overlay, and accepts
options for class selectors and loading overlay text. The overlay itself must be
styled via CSS.
[min]: https://raw.github.com/jgerigmeyer/jquery-loading-overlay/master/dist/loading-overlay.min.js
[max]: https://raw.github.com/jgerigmeyer/jquery-loading-overlay/master/dist/loading-overlay.js
In your web page:
``html`
See a [working example] of the loading-overlay in action, both with and without
CSS styling.
[working example]: http://jgerigmeyer.github.io/jquery-loading-overlay/demo/
Available options, explictly set to their defaults:
`html`
$('#target').loadingOverlay({
loadingClass: 'loading', // Class added to target while loading
overlayClass: 'loading-overlay', // Class added to overlay (style with CSS)
spinnerClass: 'loading-spinner', // Class added to loading overlay spinner
iconClass: 'loading-icon', // Class added to loading overlay spinner
textClass: 'loading-text', // Class added to loading overlay spinner
loadingText: 'loading' // Text within loading overlay
});
NOTE: If loadingClass or overlayClass options are passed when
initializing the loading overlay, the same options must be passed when removing
that overlay:
`html``
$('#target').loadingOverlay('remove', {
loadingClass: 'loading',
overlayClass: 'loading-overlay'
});
* 1.0.2 - (02/19/2014) Add bower.json
* 1.0.1 - (10/13/2013) Don't allow duplicate loading-overlays
* 1.0.0 - (10/11/2013) Initial release