nativescript-image-preview
by TJ VanToll | v0.1.0
A lightweight NativeScript plugin that wraps the JTSImageViewController CocoaPod.
npm i --save nativescript-image-preview
  • Version: 0.1.0
  • GitHub:
  • Downloads:
    • Last Day:   1
    • Last Week:  3
    • Last Month: 46

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.