[react-native] Add injectJavaScript method to WebView

This commit is contained in:
Ken Lim
2018-02-28 10:19:46 +08:00
parent c300e37b1e
commit 258aaf6d62
+5
View File
@@ -2184,6 +2184,11 @@ export interface WebViewStatic extends React.ClassicComponentClass<WebViewProper
* Returns the native webview node.
*/
getWebViewHandle: () => any;
/**
* Inject JavaScript to be executed immediately.
*/
injectJavaScript: (script: string) => void;
}
/**