angular-block-ui icon indicating copy to clipboard operation
angular-block-ui copied to clipboard

Add delay as optional parameter to start() function

Open ClearCloud8 opened this issue 10 years ago • 1 comments

It would be helpful to have an option to call BlockUI's start method with more parameters than just 'message'. For example, the 'delay' parameter would be useful in some special cases:

blockUI.start({delay: 0});

This way I can globally configure via blockUIConfig to "autoBlock" on $http calls with the default delay (which is appropriate most of the time)..... yet I still have the option to override these configuration values if I manually (on a per call basis) invoke the start() method.

ClearCloud8 avatar Jan 22 '15 22:01 ClearCloud8

+1

DimaSamusenko avatar Aug 25 '15 12:08 DimaSamusenko