McNull / angular-block-ui

AngularJS Block UI Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use GIF image

NumaanMohd opened this issue · comments

Hello,

How to use GIF image in angular-block-ui??

👍 This would be a very good feature if possible.

@NumaanMohd You can add you own template that includes a GIF image using blockUIConfig.templateUrl. I did it by using this:

<div class="block-ui-container">
  <div class="block-ui-overlay"></div>
  <div class="block-ui-message-container">
    <div class="block-ui-message">
      <img src="images/spinner.gif">
    </div>
  </div>
</div>

I kept original classes and layout so it display the same overlay and box styles.

Thanks @iwannabaa. Sorry for the late response.