Skip to content

Thin wrapper around BlockUI to block the UI while running a function

Notifications You must be signed in to change notification settings

greatvines/uiblocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Thin wrapper around BlockUI to block the UI while running a function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published