mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
feat(iOS WKWebView): Add mainDocumentURL to onShouldStartLoadWithRequest(#493)
* Pass mainDocumentURL to onShouldStartLoadWithRequest * Update reference * Update typescript types * Update WebViewTypes.ts
This commit is contained in:
committed by
Thibault Malbranche
parent
178b416d1c
commit
71d1fcc675
@@ -104,6 +104,7 @@ export interface WebViewNavigation extends WebViewNativeEvent {
|
||||
| 'reload'
|
||||
| 'formresubmit'
|
||||
| 'other';
|
||||
mainDocumentURL?: string;
|
||||
}
|
||||
|
||||
export type DecelerationRateConstant = 'normal' | 'fast';
|
||||
|
||||
Reference in New Issue
Block a user