Skip to content

Commit 487d7fe

Browse files
author
Pascal Berger
committed
New function isBlocking on blockUI service for checking if a block is shown.
1 parent 7414db9 commit 487d7fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/angular-block-ui/service.js

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ blkUI.factory('blockUI', function(blockUIConfig, $timeout, blockUIUtils, $docume
7575
}
7676
};
7777

78+
this.isBlocking = function () {
79+
return state.blocking;
80+
};
81+
7882
this.message = function(value) {
7983
state.message = value;
8084
};

0 commit comments

Comments
 (0)