Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get height webview from url video react native

<WebView
    originWhitelist={['*']}
    scrollEnabled={false}
    onMessage={onMessage}
    onNavigationStateChange={navigationChanged}
injectedJavaScript="window.ReactNativeWebView.postMessage(Math.max(document.body.offsetHeight, document.body.scrollHeight));"
source={{html: htmlCode}}
 />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #height #webview #url #video #react #native
ADD COMMENT
Topic
Name
8+2 =