|
@@ -30,4 +30,39 @@ export interface AutoHeightWebViewProps extends WebViewProps {
|
30
|
30
|
scrollEnabledWithZoomedin: boolean;
|
31
|
31
|
}
|
32
|
32
|
|
33
|
|
-export default class AutoHeightWebView extends Component<Partial<AutoHeightWebViewProps>> { }
|
|
33
|
+export default class AutoHeightWebView extends Component<Partial<AutoHeightWebViewProps>> {
|
|
34
|
+ /**
|
|
35
|
+ * Go back one page in the webview's history.
|
|
36
|
+ */
|
|
37
|
+ goBack(): void;
|
|
38
|
+
|
|
39
|
+ /**
|
|
40
|
+ * Go forward one page in the webview's history.
|
|
41
|
+ */
|
|
42
|
+ goForward(): void;
|
|
43
|
+
|
|
44
|
+ /**
|
|
45
|
+ * Reloads the current page.
|
|
46
|
+ */
|
|
47
|
+ reload(): void;
|
|
48
|
+
|
|
49
|
+ /**
|
|
50
|
+ * Stop loading the current page.
|
|
51
|
+ */
|
|
52
|
+ stopLoading(): void;
|
|
53
|
+
|
|
54
|
+ /**
|
|
55
|
+ * Extra Native Component Config.
|
|
56
|
+ */
|
|
57
|
+ extraNativeComponentConfig(): any;
|
|
58
|
+
|
|
59
|
+ /**
|
|
60
|
+ * Executes the JavaScript string.
|
|
61
|
+ */
|
|
62
|
+ injectJavaScript(script: string): void;
|
|
63
|
+
|
|
64
|
+ /**
|
|
65
|
+ * Focuses on WebView redered page.
|
|
66
|
+ */
|
|
67
|
+ requestFocus(): void;
|
|
68
|
+}
|