nativescript-webkit-webview
by triniwiz | v1.0.5
Webkit Webview for Nativescript
npm i --save nativescript-webkit-webview

NativeScript WebKit WebView

npm npm Build Status

Installation

tns plugin add nativescript-webkit-webview

Usage

Angular

import { registerElement } from 'nativescript-angular/element-registry';
registerElement('WebView', () => require('nativescript-webkit-webview').TNSWKWebView);
<WebView src="https://www.google.com"></WebView>

IMPORTANT: Make sure you include xmlns:wk="nativescript-webkit-webview" on the Page tag

<wk:TNSWKWebView src="https://www.google.com"/>

License

Apache License Version 2.0, January 2004