mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
chore(docs): Added missing word (#948)
This commit is contained in:
committed by
Thibault Malbranche
parent
75ee940e89
commit
c1b3696e01
+1
-1
@@ -346,7 +346,7 @@ _Under the hood_
|
||||
|
||||
#### The `window.ReactNativeWebView.postMessage` method and `onMessage` prop
|
||||
|
||||
Being able to send JavaScript to the web page is great, but what about when the web page wants to communicate back to your React Native code? This where `window.ReactNativeWebView.postMessage` and the `onMessage` prop come in.
|
||||
Being able to send JavaScript to the web page is great, but what about when the web page wants to communicate back to your React Native code? This is where `window.ReactNativeWebView.postMessage` and the `onMessage` prop come in.
|
||||
|
||||
You _must_ set `onMessage` or the `window.ReactNativeWebView.postMessage` method will not be injected into the web page.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user