McNull / angular-block-ui

AngularJS Block UI Module
MIT License
349 stars 108 forks source link

Use GIF image #90

Closed NumaanMohd closed 8 years ago

NumaanMohd commented 9 years ago

Hello,

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

roymj88 commented 8 years ago

:+1: This would be a very good feature if possible.

iwannabaa commented 8 years ago

@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.

NumaanMohd commented 8 years ago

Thanks @iwannabaa. Sorry for the late response.