nativescript-simple-webview
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

NativeScript Simple Webview Plugin

A simple plugin for providing webview functionality to your NativeScript app, with the added ability to programmatically close the webview (in iOS).

Installation

tns plugin add nativescript-simple-webview

Usage

Unlike other nativescript webview plugins the simple webview plugin exposes a SimpleWebView interface with a single instance method named close().

import { openUrl } from 'nativescript-simple-webview';
 
const webview = openUrl({
    url: 'http://www.google.com',
});
 
webview.close();

License

MIT

Package Sidebar

Install

npm i nativescript-simple-webview

Weekly Downloads

0

Version

1.1.5

License

MIT

Unpacked Size

30.1 kB

Total Files

15

Last publish

Collaborators

  • garystubbings