Skip to content

Provider implementation and custom offset

Latest
Compare
Choose a tag to compare
@princemaple princemaple released this 08 Mar 10:33
· 3 commits to master since this release

Extracted the factory into a provider, so you can set an offset to preload images

app.config(['ImgSrcOndemandProvider', function(ImgSrcOndemandProvider) {
  ImgSrcOndemandProvider.offset(500);
}]);

More details can be found at #1