Interface | Description |
---|---|
WebViewConfig |
Implement this interface in order to config your
WebView . |
Class | Description |
---|---|
ReactWebViewManager |
Manages instances of
WebView
Can accept following commands:
- GO_BACK
- GO_FORWARD
- RELOAD
WebView instances could emit following direct events:
- topLoadingFinish
- topLoadingStart
- topLoadingError
Each event will carry the following properties:
- target - view's react tag
- url - url set for the webview
- loading - whether webview is in a loading state
- title - title of the current page
- canGoBack - boolean, whether there is anything on a history stack to go back
- canGoForward - boolean, whether it is possible to request GO_FORWARD command |
ReactWebViewManager.ReactWebView |
Subclass of
WebView that implements LifecycleEventListener interface in order
to call WebView.destroy() on activity destroy event and also to clear the client |
ReactWebViewManager.ReactWebViewClient |