mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deploy website
Deploy website version based on 63c89d13c5889d0986a6de7c1d5cbad2776000b9
This commit is contained in:
+45
-45
@@ -114,59 +114,59 @@
|
||||
</blockquote>
|
||||
<h3><a class="anchor" aria-hidden="true" id="props"></a><a href="#props" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h3>
|
||||
<ul>
|
||||
<li><a href="/react-native/docs/0.58/view#props">View props...</a></li>
|
||||
<li><a href="view#props">View props...</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="webview.md#source"><code>source</code></a></li>
|
||||
<li><a href="webview.md#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview.md#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview.md#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview.md#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview.md#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview.md#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview.md#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview.md#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview.md#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview.md#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview.md#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview.md#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview.md#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview.md#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview.md#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview.md#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview.md#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview.md#style"><code>style</code></a></li>
|
||||
<li><a href="webview.md#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview.md#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview.md#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview.md#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview.md#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview.md#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview.md#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview.md#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview.md#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview.md#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview.md#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview.md#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview.md#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview.md#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview.md#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview.md#url"><code>url</code></a></li>
|
||||
<li><a href="webview.md#html"><code>html</code></a></li>
|
||||
<li><a href="webview#source"><code>source</code></a></li>
|
||||
<li><a href="webview#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview#style"><code>style</code></a></li>
|
||||
<li><a href="webview#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview#url"><code>url</code></a></li>
|
||||
<li><a href="webview#html"><code>html</code></a></li>
|
||||
</ul>
|
||||
<h3><a class="anchor" aria-hidden="true" id="methods"></a><a href="#methods" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Methods</h3>
|
||||
<ul>
|
||||
<li><a href="webview.md#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview.md#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview.md#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview.md#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview.md#stoploading"><code>stopLoading</code></a></li>
|
||||
<li><a href="webview#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview#stoploading"><code>stopLoading</code></a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1><a class="anchor" aria-hidden="true" id="reference"></a><a href="#reference" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Reference</h1>
|
||||
<h2><a class="anchor" aria-hidden="true" id="props-1"></a><a href="#props-1" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h2>
|
||||
<h3><a class="anchor" aria-hidden="true" id="source"></a><a href="#source" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>source</code></h3>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview.md#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>The object passed to <code>source</code> can have either of the following shapes:</p>
|
||||
<p><strong>Load uri</strong></p>
|
||||
<ul>
|
||||
@@ -352,7 +352,7 @@
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="scalespagetofit"></a><a href="#scalespagetofit" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>scalesPageToFit</code></h3>
|
||||
<p>Boolean that controls whether the web content is scaled to fit the view and enables the user to change the scale. The default value is <code>true</code>.</p>
|
||||
<p>On iOS, when <a href="webview.md#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<p>On iOS, when <a href="webview#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
@@ -509,7 +509,7 @@
|
||||
<li><code>none</code></li>
|
||||
<li><code>all</code></li>
|
||||
</ul>
|
||||
<p>With the <a href="webview.md#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<p>With the <a href="webview#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<ul>
|
||||
<li><code>trackingNumber</code></li>
|
||||
<li><code>flightNumber</code></li>
|
||||
|
||||
@@ -114,59 +114,59 @@
|
||||
</blockquote>
|
||||
<h3><a class="anchor" aria-hidden="true" id="props"></a><a href="#props" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h3>
|
||||
<ul>
|
||||
<li><a href="/react-native/docs/0.58/view#props">View props...</a></li>
|
||||
<li><a href="view#props">View props...</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="webview.md#source"><code>source</code></a></li>
|
||||
<li><a href="webview.md#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview.md#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview.md#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview.md#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview.md#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview.md#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview.md#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview.md#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview.md#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview.md#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview.md#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview.md#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview.md#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview.md#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview.md#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview.md#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview.md#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview.md#style"><code>style</code></a></li>
|
||||
<li><a href="webview.md#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview.md#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview.md#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview.md#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview.md#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview.md#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview.md#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview.md#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview.md#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview.md#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview.md#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview.md#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview.md#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview.md#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview.md#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview.md#url"><code>url</code></a></li>
|
||||
<li><a href="webview.md#html"><code>html</code></a></li>
|
||||
<li><a href="webview#source"><code>source</code></a></li>
|
||||
<li><a href="webview#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview#style"><code>style</code></a></li>
|
||||
<li><a href="webview#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview#url"><code>url</code></a></li>
|
||||
<li><a href="webview#html"><code>html</code></a></li>
|
||||
</ul>
|
||||
<h3><a class="anchor" aria-hidden="true" id="methods"></a><a href="#methods" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Methods</h3>
|
||||
<ul>
|
||||
<li><a href="webview.md#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview.md#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview.md#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview.md#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview.md#stoploading"><code>stopLoading</code></a></li>
|
||||
<li><a href="webview#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview#stoploading"><code>stopLoading</code></a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1><a class="anchor" aria-hidden="true" id="reference"></a><a href="#reference" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Reference</h1>
|
||||
<h2><a class="anchor" aria-hidden="true" id="props-1"></a><a href="#props-1" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h2>
|
||||
<h3><a class="anchor" aria-hidden="true" id="source"></a><a href="#source" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>source</code></h3>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview.md#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>The object passed to <code>source</code> can have either of the following shapes:</p>
|
||||
<p><strong>Load uri</strong></p>
|
||||
<ul>
|
||||
@@ -352,7 +352,7 @@
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="scalespagetofit"></a><a href="#scalespagetofit" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>scalesPageToFit</code></h3>
|
||||
<p>Boolean that controls whether the web content is scaled to fit the view and enables the user to change the scale. The default value is <code>true</code>.</p>
|
||||
<p>On iOS, when <a href="webview.md#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<p>On iOS, when <a href="webview#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
@@ -509,7 +509,7 @@
|
||||
<li><code>none</code></li>
|
||||
<li><code>all</code></li>
|
||||
</ul>
|
||||
<p>With the <a href="webview.md#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<p>With the <a href="webview#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<ul>
|
||||
<li><code>trackingNumber</code></li>
|
||||
<li><code>flightNumber</code></li>
|
||||
|
||||
+45
-45
@@ -114,59 +114,59 @@
|
||||
</blockquote>
|
||||
<h3><a class="anchor" aria-hidden="true" id="props"></a><a href="#props" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h3>
|
||||
<ul>
|
||||
<li><a href="/react-native/docs/0.59/view#props">View props...</a></li>
|
||||
<li><a href="view#props">View props...</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="webview.md#source"><code>source</code></a></li>
|
||||
<li><a href="webview.md#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview.md#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview.md#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview.md#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview.md#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview.md#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview.md#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview.md#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview.md#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview.md#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview.md#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview.md#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview.md#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview.md#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview.md#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview.md#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview.md#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview.md#style"><code>style</code></a></li>
|
||||
<li><a href="webview.md#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview.md#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview.md#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview.md#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview.md#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview.md#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview.md#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview.md#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview.md#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview.md#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview.md#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview.md#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview.md#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview.md#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview.md#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview.md#url"><code>url</code></a></li>
|
||||
<li><a href="webview.md#html"><code>html</code></a></li>
|
||||
<li><a href="webview#source"><code>source</code></a></li>
|
||||
<li><a href="webview#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview#style"><code>style</code></a></li>
|
||||
<li><a href="webview#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview#url"><code>url</code></a></li>
|
||||
<li><a href="webview#html"><code>html</code></a></li>
|
||||
</ul>
|
||||
<h3><a class="anchor" aria-hidden="true" id="methods"></a><a href="#methods" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Methods</h3>
|
||||
<ul>
|
||||
<li><a href="webview.md#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview.md#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview.md#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview.md#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview.md#stoploading"><code>stopLoading</code></a></li>
|
||||
<li><a href="webview#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview#stoploading"><code>stopLoading</code></a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1><a class="anchor" aria-hidden="true" id="reference"></a><a href="#reference" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Reference</h1>
|
||||
<h2><a class="anchor" aria-hidden="true" id="props-1"></a><a href="#props-1" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h2>
|
||||
<h3><a class="anchor" aria-hidden="true" id="source"></a><a href="#source" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>source</code></h3>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview.md#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>The object passed to <code>source</code> can have either of the following shapes:</p>
|
||||
<p><strong>Load uri</strong></p>
|
||||
<ul>
|
||||
@@ -352,7 +352,7 @@
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="scalespagetofit"></a><a href="#scalespagetofit" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>scalesPageToFit</code></h3>
|
||||
<p>Boolean that controls whether the web content is scaled to fit the view and enables the user to change the scale. The default value is <code>true</code>.</p>
|
||||
<p>On iOS, when <a href="webview.md#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<p>On iOS, when <a href="webview#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
@@ -509,7 +509,7 @@
|
||||
<li><code>none</code></li>
|
||||
<li><code>all</code></li>
|
||||
</ul>
|
||||
<p>With the <a href="webview.md#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<p>With the <a href="webview#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<ul>
|
||||
<li><code>trackingNumber</code></li>
|
||||
<li><code>flightNumber</code></li>
|
||||
|
||||
@@ -114,59 +114,59 @@
|
||||
</blockquote>
|
||||
<h3><a class="anchor" aria-hidden="true" id="props"></a><a href="#props" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h3>
|
||||
<ul>
|
||||
<li><a href="/react-native/docs/0.59/view#props">View props...</a></li>
|
||||
<li><a href="view#props">View props...</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="webview.md#source"><code>source</code></a></li>
|
||||
<li><a href="webview.md#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview.md#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview.md#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview.md#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview.md#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview.md#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview.md#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview.md#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview.md#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview.md#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview.md#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview.md#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview.md#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview.md#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview.md#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview.md#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview.md#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview.md#style"><code>style</code></a></li>
|
||||
<li><a href="webview.md#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview.md#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview.md#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview.md#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview.md#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview.md#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview.md#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview.md#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview.md#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview.md#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview.md#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview.md#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview.md#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview.md#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview.md#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview.md#url"><code>url</code></a></li>
|
||||
<li><a href="webview.md#html"><code>html</code></a></li>
|
||||
<li><a href="webview#source"><code>source</code></a></li>
|
||||
<li><a href="webview#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview#style"><code>style</code></a></li>
|
||||
<li><a href="webview#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview#url"><code>url</code></a></li>
|
||||
<li><a href="webview#html"><code>html</code></a></li>
|
||||
</ul>
|
||||
<h3><a class="anchor" aria-hidden="true" id="methods"></a><a href="#methods" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Methods</h3>
|
||||
<ul>
|
||||
<li><a href="webview.md#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview.md#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview.md#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview.md#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview.md#stoploading"><code>stopLoading</code></a></li>
|
||||
<li><a href="webview#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview#stoploading"><code>stopLoading</code></a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1><a class="anchor" aria-hidden="true" id="reference"></a><a href="#reference" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Reference</h1>
|
||||
<h2><a class="anchor" aria-hidden="true" id="props-1"></a><a href="#props-1" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h2>
|
||||
<h3><a class="anchor" aria-hidden="true" id="source"></a><a href="#source" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>source</code></h3>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview.md#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>The object passed to <code>source</code> can have either of the following shapes:</p>
|
||||
<p><strong>Load uri</strong></p>
|
||||
<ul>
|
||||
@@ -352,7 +352,7 @@
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="scalespagetofit"></a><a href="#scalespagetofit" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>scalesPageToFit</code></h3>
|
||||
<p>Boolean that controls whether the web content is scaled to fit the view and enables the user to change the scale. The default value is <code>true</code>.</p>
|
||||
<p>On iOS, when <a href="webview.md#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<p>On iOS, when <a href="webview#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
@@ -509,7 +509,7 @@
|
||||
<li><code>none</code></li>
|
||||
<li><code>all</code></li>
|
||||
</ul>
|
||||
<p>With the <a href="webview.md#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<p>With the <a href="webview#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<ul>
|
||||
<li><code>trackingNumber</code></li>
|
||||
<li><code>flightNumber</code></li>
|
||||
|
||||
@@ -476,7 +476,7 @@ const styles = StyleSheet.create({
|
||||
</table>
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="onmomentumscrollbegin"></a><a href="#onmomentumscrollbegin" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>onMomentumScrollBegin</code></h3>
|
||||
<p>Called when the momentum scroll starts (scroll which occurs as the ScrollView glides to a stop).</p>
|
||||
<p>Called when the momentum scroll starts (scroll which occurs as the ScrollView starts gliding).</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
|
||||
@@ -476,7 +476,7 @@ const styles = StyleSheet.create({
|
||||
</table>
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="onmomentumscrollbegin"></a><a href="#onmomentumscrollbegin" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>onMomentumScrollBegin</code></h3>
|
||||
<p>Called when the momentum scroll starts (scroll which occurs as the ScrollView glides to a stop).</p>
|
||||
<p>Called when the momentum scroll starts (scroll which occurs as the ScrollView starts gliding).</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
|
||||
+45
-45
@@ -58,59 +58,59 @@
|
||||
</blockquote>
|
||||
<h3><a class="anchor" aria-hidden="true" id="props"></a><a href="#props" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h3>
|
||||
<ul>
|
||||
<li><a href="/react-native/docs/view#props">View props...</a></li>
|
||||
<li><a href="view#props">View props...</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="webview.md#source"><code>source</code></a></li>
|
||||
<li><a href="webview.md#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview.md#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview.md#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview.md#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview.md#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview.md#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview.md#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview.md#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview.md#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview.md#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview.md#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview.md#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview.md#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview.md#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview.md#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview.md#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview.md#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview.md#style"><code>style</code></a></li>
|
||||
<li><a href="webview.md#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview.md#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview.md#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview.md#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview.md#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview.md#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview.md#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview.md#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview.md#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview.md#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview.md#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview.md#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview.md#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview.md#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview.md#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview.md#url"><code>url</code></a></li>
|
||||
<li><a href="webview.md#html"><code>html</code></a></li>
|
||||
<li><a href="webview#source"><code>source</code></a></li>
|
||||
<li><a href="webview#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview#style"><code>style</code></a></li>
|
||||
<li><a href="webview#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview#url"><code>url</code></a></li>
|
||||
<li><a href="webview#html"><code>html</code></a></li>
|
||||
</ul>
|
||||
<h3><a class="anchor" aria-hidden="true" id="methods"></a><a href="#methods" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Methods</h3>
|
||||
<ul>
|
||||
<li><a href="webview.md#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview.md#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview.md#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview.md#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview.md#stoploading"><code>stopLoading</code></a></li>
|
||||
<li><a href="webview#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview#stoploading"><code>stopLoading</code></a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1><a class="anchor" aria-hidden="true" id="reference"></a><a href="#reference" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Reference</h1>
|
||||
<h2><a class="anchor" aria-hidden="true" id="props-1"></a><a href="#props-1" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h2>
|
||||
<h3><a class="anchor" aria-hidden="true" id="source"></a><a href="#source" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>source</code></h3>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview.md#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>The object passed to <code>source</code> can have either of the following shapes:</p>
|
||||
<p><strong>Load uri</strong></p>
|
||||
<ul>
|
||||
@@ -296,7 +296,7 @@
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="scalespagetofit"></a><a href="#scalespagetofit" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>scalesPageToFit</code></h3>
|
||||
<p>Boolean that controls whether the web content is scaled to fit the view and enables the user to change the scale. The default value is <code>true</code>.</p>
|
||||
<p>On iOS, when <a href="webview.md#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<p>On iOS, when <a href="webview#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
@@ -453,7 +453,7 @@
|
||||
<li><code>none</code></li>
|
||||
<li><code>all</code></li>
|
||||
</ul>
|
||||
<p>With the <a href="webview.md#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<p>With the <a href="webview#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<ul>
|
||||
<li><code>trackingNumber</code></li>
|
||||
<li><code>flightNumber</code></li>
|
||||
|
||||
+45
-45
@@ -58,59 +58,59 @@
|
||||
</blockquote>
|
||||
<h3><a class="anchor" aria-hidden="true" id="props"></a><a href="#props" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h3>
|
||||
<ul>
|
||||
<li><a href="/react-native/docs/view#props">View props...</a></li>
|
||||
<li><a href="view#props">View props...</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="webview.md#source"><code>source</code></a></li>
|
||||
<li><a href="webview.md#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview.md#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview.md#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview.md#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview.md#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview.md#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview.md#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview.md#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview.md#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview.md#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview.md#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview.md#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview.md#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview.md#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview.md#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview.md#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview.md#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview.md#style"><code>style</code></a></li>
|
||||
<li><a href="webview.md#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview.md#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview.md#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview.md#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview.md#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview.md#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview.md#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview.md#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview.md#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview.md#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview.md#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview.md#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview.md#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview.md#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview.md#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview.md#url"><code>url</code></a></li>
|
||||
<li><a href="webview.md#html"><code>html</code></a></li>
|
||||
<li><a href="webview#source"><code>source</code></a></li>
|
||||
<li><a href="webview#automaticallyadjustcontentinsets"><code>automaticallyAdjustContentInsets</code></a></li>
|
||||
<li><a href="webview#injectjavascript"><code>injectJavaScript</code></a></li>
|
||||
<li><a href="webview#injectedjavascript"><code>injectedJavaScript</code></a></li>
|
||||
<li><a href="webview#mediaplaybackrequiresuseraction"><code>mediaPlaybackRequiresUserAction</code></a></li>
|
||||
<li><a href="webview#nativeconfig"><code>nativeConfig</code></a></li>
|
||||
<li><a href="webview#onerror"><code>onError</code></a></li>
|
||||
<li><a href="webview#onload"><code>onLoad</code></a></li>
|
||||
<li><a href="webview#onloadend"><code>onLoadEnd</code></a></li>
|
||||
<li><a href="webview#onloadstart"><code>onLoadStart</code></a></li>
|
||||
<li><a href="webview#onmessage"><code>onMessage</code></a></li>
|
||||
<li><a href="webview#onnavigationstatechange"><code>onNavigationStateChange</code></a></li>
|
||||
<li><a href="webview#originwhitelist"><code>originWhitelist</code></a></li>
|
||||
<li><a href="webview#rendererror"><code>renderError</code></a></li>
|
||||
<li><a href="webview#renderloading"><code>renderLoading</code></a></li>
|
||||
<li><a href="webview#scalespagetofit"><code>scalesPageToFit</code></a></li>
|
||||
<li><a href="webview#onshouldstartloadwithrequest"><code>onShouldStartLoadWithRequest</code></a></li>
|
||||
<li><a href="webview#startinloadingstate"><code>startInLoadingState</code></a></li>
|
||||
<li><a href="webview#style"><code>style</code></a></li>
|
||||
<li><a href="webview#decelerationrate"><code>decelerationRate</code></a></li>
|
||||
<li><a href="webview#domstorageenabled"><code>domStorageEnabled</code></a></li>
|
||||
<li><a href="webview#javascriptenabled"><code>javaScriptEnabled</code></a></li>
|
||||
<li><a href="webview#mixedcontentmode"><code>mixedContentMode</code></a></li>
|
||||
<li><a href="webview#thirdpartycookiesenabled"><code>thirdPartyCookiesEnabled</code></a></li>
|
||||
<li><a href="webview#useragent"><code>userAgent</code></a></li>
|
||||
<li><a href="webview#allowsinlinemediaplayback"><code>allowsInlineMediaPlayback</code></a></li>
|
||||
<li><a href="webview#allowFileAccess"><code>allowFileAccess</code></a></li>
|
||||
<li><a href="webview#bounces"><code>bounces</code></a></li>
|
||||
<li><a href="webview#contentinset"><code>contentInset</code></a></li>
|
||||
<li><a href="webview#datadetectortypes"><code>dataDetectorTypes</code></a></li>
|
||||
<li><a href="webview#scrollenabled"><code>scrollEnabled</code></a></li>
|
||||
<li><a href="webview#geolocationenabled"><code>geolocationEnabled</code></a></li>
|
||||
<li><a href="webview#allowUniversalAccessFromFileURLs"><code>allowUniversalAccessFromFileURLs</code></a></li>
|
||||
<li><a href="webview#usewebkit"><code>useWebKit</code></a></li>
|
||||
<li><a href="webview#url"><code>url</code></a></li>
|
||||
<li><a href="webview#html"><code>html</code></a></li>
|
||||
</ul>
|
||||
<h3><a class="anchor" aria-hidden="true" id="methods"></a><a href="#methods" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Methods</h3>
|
||||
<ul>
|
||||
<li><a href="webview.md#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview.md#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview.md#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview.md#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview.md#stoploading"><code>stopLoading</code></a></li>
|
||||
<li><a href="webview#extranativecomponentconfig"><code>extraNativeComponentConfig</code></a></li>
|
||||
<li><a href="webview#goforward"><code>goForward</code></a></li>
|
||||
<li><a href="webview#goback"><code>goBack</code></a></li>
|
||||
<li><a href="webview#reload"><code>reload</code></a></li>
|
||||
<li><a href="webview#stoploading"><code>stopLoading</code></a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1><a class="anchor" aria-hidden="true" id="reference"></a><a href="#reference" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Reference</h1>
|
||||
<h2><a class="anchor" aria-hidden="true" id="props-1"></a><a href="#props-1" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Props</h2>
|
||||
<h3><a class="anchor" aria-hidden="true" id="source"></a><a href="#source" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>source</code></h3>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview.md#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting <a href="webview#originwhitelist"><code>originWhitelist</code></a> to <code>["*"]</code>.</p>
|
||||
<p>The object passed to <code>source</code> can have either of the following shapes:</p>
|
||||
<p><strong>Load uri</strong></p>
|
||||
<ul>
|
||||
@@ -296,7 +296,7 @@
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="scalespagetofit"></a><a href="#scalespagetofit" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>scalesPageToFit</code></h3>
|
||||
<p>Boolean that controls whether the web content is scaled to fit the view and enables the user to change the scale. The default value is <code>true</code>.</p>
|
||||
<p>On iOS, when <a href="webview.md#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<p>On iOS, when <a href="webview#usewebkit"><code>useWebKit=true</code></a>, this prop will not work.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
@@ -453,7 +453,7 @@
|
||||
<li><code>none</code></li>
|
||||
<li><code>all</code></li>
|
||||
</ul>
|
||||
<p>With the <a href="webview.md#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<p>With the <a href="webview#usewebkit">new WebKit</a> implementation, we have three new values:</p>
|
||||
<ul>
|
||||
<li><code>trackingNumber</code></li>
|
||||
<li><code>flightNumber</code></li>
|
||||
|
||||
Reference in New Issue
Block a user