diff --git a/docs/webview.html b/docs/webview.html index 148ed036eb3..5b123da140f 100644 --- a/docs/webview.html +++ b/docs/webview.html @@ -3,7 +3,7 @@ controller. default value false NOTE : "In order for video to play inline, not only does this property need to be set to true, but the video element in the HTML -document must also include the webkit-playsinline attribute."

iosbounces bool #

androidjavaScriptEnabledAndroid bool #

Used on Android only, JS is enabled by default for WebView on iOS

iosonShouldStartLoadWithRequest function #

Allows custom handling of any webview requests by a JS handler. Return true +document must also include the webkit-playsinline attribute."

iosbounces bool #

androiddomStorageEnabledAndroid bool #

Used on Android only, controls whether DOM Storage is enabled or not

androidjavaScriptEnabledAndroid bool #

Used on Android only, JS is enabled by default for WebView on iOS

iosonShouldStartLoadWithRequest function #

Allows custom handling of any webview requests by a JS handler. Return true or false from this method to continue loading the request.

iosscalesPageToFit bool #

Sets whether the webpage scales to fit the view and the user can change the scale.

iosscrollEnabled bool #

Edit on GitHubExamples #

'use strict'; var React = require('react-native'); @@ -86,6 +86,7 @@ or false from this method to continue loading the request.

={styles.webView} url={this.state.url} javaScriptEnabledAndroid={true} + domStorageEnabledAndroid={true} onNavigationStateChange={this.onNavigationStateChange} onShouldStartLoadWithRequest={this.onShouldStartLoadWithRequest} startInLoadingState={true}