mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00

* chore: remove critical circular dependencies * chore: fix tslint errors * chore: remove platform specific types from interfaces * chore: update unit tests polyfills * fix: incorrect null check * chore: update api.md file * test: improve test case * chore: apply comments * test: avoid page style leaks in tests
15 lines
433 B
TypeScript
15 lines
433 B
TypeScript
import { WebView } from ".";
|
|
import { EventData } from "../core/view";
|
|
|
|
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 */;
|
|
}
|