Skip to content

createWebViewRef()

function createWebViewRef(): WebViewRefObject;

A ref to pass as a WebView's ref, which a module or a store can hold, so code outside React can read the state and call the WebView.

Returns

WebViewRefObject

See

Outside React example