nativescript-webkit-webview

v1.0.5
Webkit Webview for Nativescript
NativeScript JavaScript Android iOS

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

npm i nativescript-webkit-webview

Metadata

Downloads