From 562535ea9086ee7988a913dd4a363cae4cf30954 Mon Sep 17 00:00:00 2001 From: Scaramuzzino Giuseppe Date: Thu, 24 Nov 2016 11:55:00 +0100 Subject: [PATCH] Add functions img and classImg to apply a custom img and class --- dist/angular-block-ui.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dist/angular-block-ui.js b/dist/angular-block-ui.js index eb392bd..0e0926a 100644 --- a/dist/angular-block-ui.js +++ b/dist/angular-block-ui.js @@ -495,6 +495,14 @@ blkUI.factory('blockUI', ["blockUIConfig", "$timeout", "blockUIUtils", "$documen this.message = function(value) { state.message = value; }; + + this.img = function(value) { + state.img = value; + }; + + this.classImg = function(value) { + state.classImg = value; + }; this.pattern = function(regexp) { if (regexp !== undefined) {