代码拉取完成,页面将自动刷新
import { Component } from 'react';
// eslint-disable-next-line
import { IOSWebViewProps, AndroidWebViewProps, WindowsWebViewProps } from './lib/WebViewTypes';
export { FileDownload, WebViewMessageEvent, WebViewNavigation } from "./lib/WebViewTypes";
export type WebViewProps = IOSWebViewProps & AndroidWebViewProps & WindowsWebViewProps;
declare class WebView<P = {}> extends Component<WebViewProps & P> {
/**
* Go back one page in the webview's history.
*/
goBack: () => void;
/**
* Go forward one page in the webview's history.
*/
goForward: () => void;
/**
* Reloads the current page.
*/
reload: () => void;
/**
* Stop loading the current page.
*/
stopLoading(): void;
/**
* Executes the JavaScript string.
*/
injectJavaScript: (script: string) => void;
/**
* Focuses on WebView redered page.
*/
requestFocus: () => void;
/**
* Posts a message to WebView.
*/
postMessage: (message: string) => void;
/**
* (Android only)
* Removes the autocomplete popup from the currently focused form field, if present.
*/
clearFormData?: () => void;
/**
* (Android only)
* Clears the resource cache. Note that the cache is per-application, so this will clear the cache for all WebViews used.
*/
clearCache?: (clear: boolean) => void;
/**
* (Android only)
* Tells this WebView to clear its internal back/forward list.
*/
clearHistory?: () => void;
}
export {WebView};
export default WebView;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。