nativescript-image-caching
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Property Default Description
src - (required) link url of an image

License

MIT

Package Sidebar

Install

npm i nativescript-image-caching

Weekly Downloads

2

Version

1.0.2

License

Apache-2.0

Unpacked Size

366 kB

Total Files

29

Last publish

Collaborators

  • ptdede