st-cached-image
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

npm npm Build Status

Cached Image

Install

Capacitor Image Cache is require for this package

  • npm i capacitor-image-cache st-cached-image

Usage

<st-cached-image src="https://i.annihil.us/u/prod/marvel/i/mg/e/e0/537bafa34baa9.jpg"></st-cached-image>

If using with ionic

import 'st-cached-image/dist/cached-image';

Update the following file since ionic ignores the file

youAppDir/node_modules/@ionic/app-scripts/config/copy.config.js

copyStCachedImage: {
    src: ['{{ROOT}}/node_modules/st-cached-image/dist/cached-image**/*'],
    dest: '{{BUILD}}'
  }

Readme

Keywords

none

Package Sidebar

Install

npm i st-cached-image

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

255 kB

Total Files

32

Last publish

Collaborators

  • triniwiz