nativescript-image-preview
v0.1.0
Published
A lightweight NativeScript plugin that wraps the [JTSImageViewController](https://cocoapods.org/pods/JTSImageViewController) CocoaPod.
Downloads
4
Readme
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.