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

template and templateURL properties not working with blockUIConfig

Open nirmalpatel59 opened this issue 8 years ago • 1 comments

as mentioned in here to add Image loader, I tried to use template and templateURL properties individually. not working after adding those properties. although adding blockUIConfig.message =" custom loading msg" is working. but blockUIConfig.template = '<div class="block-ui-container"><div class="block-ui-overlay"></div><div class="block-ui-message-container"><div class="block-ui-message"><img src="assets/img/ajax-loader.gif"></div></div></div>'; not working.

nirmalpatel59 avatar Feb 06 '17 07:02 nirmalpatel59

Try it: blockUIConfig.template = '<div class="block-ui-overlay"></div><div class="block-ui-message-container"><div class="block-ui-message"> <img src="img/loading_apple.gif" /> </div></div>'

As you see, block with class="block-ui-container" is not need.

AndzejChwalko avatar Mar 21 '17 15:03 AndzejChwalko