nativescript-image-preview
A lightweight NativeScript plugin that wraps the JTSImageViewController CocoaPod.
npm i --save nativescript-image-preview
- Version: 0.1.0
- GitHub:
- NPM: https://www.npmjs.com/package/nativescript-image-preview
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
NativeScript Image Preview
A lightweight NativeScript plugin that wraps the JTSImageViewController CocoaPod.
Installation
tns install nativescript-image-preview
Usage
var imagePreview = require("nativescript-image-preview");
imagePreview.showImage("https://i.imgur.com/sKh7Z6R.png");
You can alternatively just use JTSImageViewController APIs documented on http://cocoadocs.org/docsets/JTSImageViewController/. This plugin makes them all available.