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

Expose fluent (but mostly just chainable) api

Open mikehaas763 opened this issue 9 years ago • 0 comments

This is purely for sugar, and the only value is an alternative but subjectively nicer API. I'm sure I'm not covering the full story here but how about an element api like so:

var fooBlock = blockUI.forInstance('fooBlock').start(); fooBlock.stop();

Thoughts?

mikehaas763 avatar Oct 29 '15 17:10 mikehaas763