mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
22 lines
440 B
TypeScript
22 lines
440 B
TypeScript
import { WebView } from ".";
|
|
import { EventData } from "../../data/observable";
|
|
|
|
export type NavigationType =
|
|
| "linkClicked"
|
|
| "formSubmitted"
|
|
| "backForward"
|
|
| "reload"
|
|
| "formResubmitted"
|
|
| "other"
|
|
| undefined;
|
|
|
|
export interface LoadEventData extends EventData {
|
|
url: string;
|
|
navigationType: NavigationType;
|
|
error: string;
|
|
}
|
|
|
|
export interface WebViewClient {
|
|
new (owner: WebView): any /* android.webkit.WebViewClient */;
|
|
}
|