From fdc31e8a728aa13d4a76bea9a008aaeae3a4a106 Mon Sep 17 00:00:00 2001
From: Travis CI
Date: Tue, 5 Jan 2016 19:02:54 +0000
Subject: [PATCH] update website
---
docs/webview.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/webview.html b/docs/webview.html
index 5b123da140f..9cd209a8300 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."
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
+document must also include the webkit-playsinline attribute."
androiddomStorageEnabled bool #
Used on Android only, controls whether DOM Storage is enabled or not
androidjavaScriptEnabled 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.
'use strict';
var React = require('react-native');
@@ -85,8 +85,8 @@ or false from this method to continue loading the request.
={false}
style={styles.webView}
url={this.state.url}
- javaScriptEnabledAndroid={true}
- domStorageEnabledAndroid={true}
+ javaScriptEnabled={true}
+ domStorageEnabled={true}
onNavigationStateChange={this.onNavigationStateChange}
onShouldStartLoadWithRequest={this.onShouldStartLoadWithRequest}
startInLoadingState={true}