uiblocker
v1.0.1
Published
Block UI while running (async) functions using $.BlockUI
Downloads
26
Readme
UIBlocker
A wrapper around the BlockUI jQuery plugin to block the UI while a function is running. If the wrapped function returns a promise, the UI will be blocked until the promise is resolved.
Install
npm install --save uiblocker
Usage
var uiblocker = require('uiblocker');
var blockedFunction = uiblocker.makeBlocked(fn);
Credits
Based on code developed for GreatVines Mobile.
UI Blocking done by Mike Alsup's code.