Caching images in ionic 2 typescript as picasso

http://market.ionic.io/plugins/ionic-img-cache This link is for ionic 1, and I cannot find a solution for caching images in ionic 2 using typescript. Is anyone

I tried this link, but I can not understand the code https://github.com/BenBBear/ionic-cache-src

+4
source share
1 answer

You can use imgcache.js

npm install imgcache.js --save

and then create your own component or directive class for caching images, as described here with examples.

+3

Source: https://habr.com/ru/post/1649525/


All Articles