An open API service indexing awesome lists of open source software.

https://github.com/ghoullier/ng-image-cache

Angular image cache module
https://github.com/ghoullier/ng-image-cache

angular cache image-cache

Last synced: 12 months ago
JSON representation

Angular image cache module

Awesome Lists containing this project

README

          

# Angular image cache module

## GETTING STARTED

```js
angular
.module('demo', [
'ngImageCache'
])
;
```

```html

```

Image is loaded using javascript, content is stored in DOMStorage (sessionStorage or localStorage) for next loading

## CONFIGURE

Update storage

```js
angular
.module('demo', [
'ngImageCache'
])
.config(['ImageCacheProvider', function(ImageCacheProvider) {
// Use localStorage instead of sessionStorage
ImageCacheProvider.setStorage(window.localStorage)
}])
;
```

## [CHANGELOG](CHANGELOG.md)