Skip to content

Angular directive for masking image before its loaded

Notifications You must be signed in to change notification settings

Bubujka/bu.ng.nice-preload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Директива для отображения html, пока будет загружаться заданное изображение.

Демо:
  http://bubujka.github.io/bu.ng.nice-preload/

Подключение:
  <script src="bu.ng.nice-preload.js"></script>

  <script>

    angular.module('...', ['bu.ng.nice-preload'])

  </script>


Использование:

  <div class='image-block' nice-preload src='{{my_img_url}}'>
    Image loading...
  </div>

About

Angular directive for masking image before its loaded

http://bubujka.github.io/bu.ng.nice-preload/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published