UNPKG

@nota/nativescript-webview-ext

Version:

Extended WebView for NativeScript which adds 'x-local' scheme for local-files. events between WebView and native-layer, javascript execution, injecting CSS and JS-files.

15 lines (14 loc) 740 B
/// <reference path="node_modules/tns-platform-declarations/ios.d.ts" /> import { WebViewExtBase } from "./webview-ext-common"; export declare class UIWebViewDelegateImpl extends NSObject implements UIWebViewDelegate { static ObjCProtocols: { prototype: UIWebViewDelegate; }[]; private _owner; static initWithOwner(owner: WeakRef<WebViewExtBase>): UIWebViewDelegateImpl; webViewShouldStartLoadWithRequestNavigationType(webView: UIWebView, request: NSURLRequest, navigationType: number): boolean; uiWebViewJSNavigation: boolean; webViewDidStartLoad(webView: UIWebView): void; webViewDidFinishLoad(webView: UIWebView): void; webViewDidFailLoadWithError(webView: UIWebView, error: NSError): void; }