angular-block-ui
angular-block-ui copied to clipboard
Blocking via an attribute
trafficstars
would it be possible to have an attribute that blocks an element, for example it could look like so:
<div block-ui="i-block" block-ui-reason="{reason}">..</div>
If reason is set to null then the blocking won't occur, but if it's a string then it blocks and displays the string.
This would clean up wherever I use block UI quite a lot.