From 5374b7191417603aaf6b0834a75c6d27cbaef99d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Thu, 7 Aug 2025 20:06:17 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#ICRXCG]=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-webview=E4=BD=BF=E7=94=A8=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李琦 --- en/react-native-webview.md | 1 + zh-cn/react-native-webview.md | 1 + 2 files changed, 2 insertions(+) diff --git a/en/react-native-webview.md b/en/react-native-webview.md index fc8a8e98..6e3bdd19 100644 --- a/en/react-native-webview.md +++ b/en/react-native-webview.md @@ -324,6 +324,7 @@ For details, see [webview official document](https://github.com/react-native-web | `onContentProcessDidTerminate: (event) => void` | Function that is invoked when the `WebView` content process is terminated. | function | No | iOS and macOS WKWebView | No | | `renderLoading?` | Function that returns a loading indicator. The `startInLoadingState` prop must be set to `true` in order to use this prop. | function | No | iOS, Android, macOS | No | | `onCustomMenuSelection?` | Function called when a custom menu item is selected. It receives a Native event, which includes three custom keys: `label`, `key` and `selectedText`. | function | NO | iOS, Android | No | +| `onNavigationStateChange?: (event) => void` | Function that is invoked when the WebView loading starts or ends. | function | NO | iOS, Android | yes | ## Static Methods diff --git a/zh-cn/react-native-webview.md b/zh-cn/react-native-webview.md index 852d6fea..5ba3125d 100644 --- a/zh-cn/react-native-webview.md +++ b/zh-cn/react-native-webview.md @@ -326,6 +326,7 @@ ohpm install | `onContentProcessDidTerminate: (event) => void` | Function that is invoked when the `WebView` content process is terminated. | function | No | iOS and macOS WKWebView | No | | `renderLoading?` | Function that returns a loading indicator. The `startInLoadingState` prop must be set to `true` in order to use this prop. | function | No | iOS, Android, macOS | No | | `onCustomMenuSelection?` | Function called when a custom menu item is selected. It receives a Native event, which includes three custom keys: `label`, `key` and `selectedText`. | function | NO | iOS, Android | No | +| `onNavigationStateChange?: (event) => void` | Function that is invoked when the WebView loading starts or ends. | function | NO | iOS, Android | yes | ## 静态方法 > [!TIP] "Platform"列表示该属性在原三方库上支持的平台。 -- Gitee