|
@@ -41,6 +41,29 @@ declare class WebView extends Component<WebViewProps> {
|
41
|
41
|
* Focuses on WebView redered page.
|
42
|
42
|
*/
|
43
|
43
|
requestFocus: () => void;
|
|
44
|
+
|
|
45
|
+ /**
|
|
46
|
+ * Posts a message to WebView.
|
|
47
|
+ */
|
|
48
|
+ postMessage: (message: string) => void;
|
|
49
|
+
|
|
50
|
+ /**
|
|
51
|
+ * (Android only)
|
|
52
|
+ * Removes the autocomplete popup from the currently focused form field, if present.
|
|
53
|
+ */
|
|
54
|
+ clearFormData: () => void;
|
|
55
|
+
|
|
56
|
+ /**
|
|
57
|
+ * (Android only)
|
|
58
|
+ * Clears the resource cache. Note that the cache is per-application, so this will clear the cache for all WebViews used.
|
|
59
|
+ */
|
|
60
|
+ clearCache: (clear: boolean) => void;
|
|
61
|
+
|
|
62
|
+ /**
|
|
63
|
+ * (Android only)
|
|
64
|
+ * Tells this WebView to clear its internal back/forward list.
|
|
65
|
+ */
|
|
66
|
+ clearHistory: () => void;
|
44
|
67
|
}
|
45
|
68
|
|
46
|
69
|
export {WebView};
|