1.0.2 • Published 6 years ago

nativescript-image-caching v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
6 years ago

Nativescript Image Caching

Image Caching that use Glide(v3) for android and SDWebImage(v4) for ios

CAUTION!

this plugin is under development, i really appreciate pull request and contribution in this repo. Thanks!

inspired from nativescript-image-cache-it they used Picasso rather than Glide.

Installation

tns plugin add nativescript-image-caching

Usage

  <ImageCache src="http://lorempixel.com/2000/2000/sports"
              width="100%"
              height="210"/>

IMPORTANT FOR ANGULAR

inside your app module. insert:

import { registerElement } from 'nativescript-angular/element-registry';
registerElement('ImageCache', () => require('nativescript-image-caching').ImageCache);

API

PropertyDefaultDescription
src-(required) link url of an image

License

MIT

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago