|
@@ -476,7 +476,12 @@ declare module "src/WebView.ios" {
|
476
|
476
|
state: State;
|
477
|
477
|
webViewRef: React.RefObject<React.ComponentClass<{}, any>>;
|
478
|
478
|
UNSAFE_componentWillMount(): void;
|
479
|
|
- _getCommands(): {
|
|
479
|
+ componentDidUpdate(prevProps: WebViewSharedProps): void;
|
|
480
|
+ /**
|
|
481
|
+ * Go forward one page in the web view's history.
|
|
482
|
+ */
|
|
483
|
+ goForward: () => void;
|
|
484
|
+ getCommands(): {
|
480
|
485
|
goForward: () => void;
|
481
|
486
|
goBack: () => void;
|
482
|
487
|
reload: () => void;
|
|
@@ -484,10 +489,6 @@ declare module "src/WebView.ios" {
|
484
|
489
|
postMessage: () => void;
|
485
|
490
|
injectJavaScript: () => void;
|
486
|
491
|
};
|
487
|
|
- /**
|
488
|
|
- * Go forward one page in the web view's history.
|
489
|
|
- */
|
490
|
|
- goForward: () => void;
|
491
|
492
|
/**
|
492
|
493
|
* Go back one page in the web view's history.
|
493
|
494
|
*/
|
|
@@ -522,18 +523,17 @@ declare module "src/WebView.ios" {
|
522
|
523
|
* We return an event with a bunch of fields including:
|
523
|
524
|
* url, title, loading, canGoBack, canGoForward
|
524
|
525
|
*/
|
525
|
|
- _updateNavigationState: (event: NativeSyntheticEvent<import("src/types/WebViewTypes").WebViewNavigation>) => void;
|
|
526
|
+ updateNavigationState: (event: NativeSyntheticEvent<import("src/types/WebViewTypes").WebViewNavigation>) => void;
|
526
|
527
|
/**
|
527
|
528
|
* Returns the native `WebView` node.
|
528
|
529
|
*/
|
529
|
530
|
getWebViewHandle: () => number | null;
|
530
|
|
- _onLoadingStart: (event: NativeSyntheticEvent<import("src/types/WebViewTypes").WebViewNavigation>) => void;
|
531
|
|
- _onLoadingError: (event: NativeSyntheticEvent<WebViewError>) => void;
|
532
|
|
- _onLoadingFinish: (event: NativeSyntheticEvent<import("src/types/WebViewTypes").WebViewNavigation>) => void;
|
533
|
|
- _onMessage: (event: NativeSyntheticEvent<import("src/types/WebViewTypes").WebViewMessage>) => void;
|
534
|
|
- _onLoadingProgress: (event: NativeSyntheticEvent<WebViewProgressEvent>) => void;
|
535
|
|
- componentDidUpdate(prevProps: WebViewSharedProps): void;
|
536
|
|
- _showRedboxOnPropChanges(prevProps: WebViewSharedProps, propName: 'allowsInlineMediaPlayback' | 'mediaPlaybackRequiresUserAction' | 'dataDetectorTypes'): void;
|
|
531
|
+ onLoadingStart: (event: NativeSyntheticEvent<import("src/types/WebViewTypes").WebViewNavigation>) => void;
|
|
532
|
+ onLoadingError: (event: NativeSyntheticEvent<WebViewError>) => void;
|
|
533
|
+ onLoadingFinish: (event: NativeSyntheticEvent<import("src/types/WebViewTypes").WebViewNavigation>) => void;
|
|
534
|
+ onMessage: (event: NativeSyntheticEvent<import("src/types/WebViewTypes").WebViewMessage>) => void;
|
|
535
|
+ onLoadingProgress: (event: NativeSyntheticEvent<WebViewProgressEvent>) => void;
|
|
536
|
+ showRedboxOnPropChanges(prevProps: WebViewSharedProps, propName: 'allowsInlineMediaPlayback' | 'mediaPlaybackRequiresUserAction' | 'dataDetectorTypes'): void;
|
537
|
537
|
render(): React.ReactNode;
|
538
|
538
|
}
|
539
|
539
|
}
|