1.0.1 • Published 9 years ago

uiblocker v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

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.