|
@@ -9,6 +9,12 @@ export interface WebViewNativeEvent {
|
9
|
9
|
readonly canGoForward: boolean;
|
10
|
10
|
}
|
11
|
11
|
|
|
12
|
+export interface WebViewIOSLoadRequestEvent extends WebViewNativeEvent {
|
|
13
|
+ target: number;
|
|
14
|
+ lockIdentifier: number;
|
|
15
|
+ navigationType: "click" | "formsubmit" | "backforward" | "reload" | "formresubmit" | "other";
|
|
16
|
+}
|
|
17
|
+
|
12
|
18
|
export interface WebViewProgressEvent extends WebViewNativeEvent {
|
13
|
19
|
readonly progress: number;
|
14
|
20
|
}
|
|
@@ -182,7 +188,7 @@ export interface IOSWebViewProps {
|
182
|
188
|
* to stop loading.
|
183
|
189
|
* @platform ios
|
184
|
190
|
*/
|
185
|
|
- onShouldStartLoadWithRequest?: (event: WebViewNativeEvent) => any;
|
|
191
|
+ onShouldStartLoadWithRequest?: (event: WebViewIOSLoadRequestEvent) => any;
|
186
|
192
|
|
187
|
193
|
/**
|
188
|
194
|
* Boolean that determines whether HTML5 videos play inline or use the
|