Pārlūkot izejas kodu

docs(reference): add links to top with jump2header (#1528 by @strdr4605)

[skip ci]
Dragoș Străinu 4 gadus atpakaļ
vecāks
revīzija
97aaf89037
No account linked to committer's email address
1 mainītis faili ar 76 papildinājumiem un 76 dzēšanām
  1. 76
    76
      docs/Reference.md

+ 76
- 76
docs/Reference.md Parādīt failu

@@ -88,7 +88,7 @@ This document lays out the current public properties and methods for the React N
88 88
 
89 89
 ## Props
90 90
 
91
-### `source`
91
+### `source`[⬆](#props-index)<!-- Link generated with jump2header -->
92 92
 
93 93
 Loads static HTML or a URI (with optional headers) in the WebView. Note that static HTML will require setting [`originWhitelist`](Reference.md#originwhitelist) to `["*"]`.
94 94
 
@@ -114,7 +114,7 @@ _Note that using static HTML requires the WebView property [originWhiteList](Ref
114 114
 
115 115
 ---
116 116
 
117
-### `automaticallyAdjustContentInsets`
117
+### `automaticallyAdjustContentInsets`[⬆](#props-index)<!-- Link generated with jump2header -->
118 118
 
119 119
 Controls whether to adjust the content inset for web views that are placed behind a navigation bar, tab bar, or toolbar. The default value is `true`.
120 120
 
@@ -124,7 +124,7 @@ Controls whether to adjust the content inset for web views that are placed behin
124 124
 
125 125
 ---
126 126
 
127
-### `injectedJavaScript`
127
+### `injectedJavaScript`[⬆](#props-index)<!-- Link generated with jump2header -->
128 128
 
129 129
 Set this to provide JavaScript that will be injected into the web page after the document finishes loading, but before other subresources finish loading.
130 130
 
@@ -156,7 +156,7 @@ const INJECTED_JAVASCRIPT = `(function() {
156 156
 
157 157
 ---
158 158
 
159
-### `injectedJavaScriptBeforeContentLoaded`
159
+### `injectedJavaScriptBeforeContentLoaded`[⬆](#props-index)<!-- Link generated with jump2header -->
160 160
 
161 161
 Set this to provide JavaScript that will be injected into the web page after the document element is created, but before other subresources finish loading.
162 162
 
@@ -188,7 +188,7 @@ const INJECTED_JAVASCRIPT = `(function() {
188 188
 
189 189
 ---
190 190
 
191
-### `injectedJavaScriptForMainFrameOnly`
191
+### `injectedJavaScriptForMainFrameOnly`[⬆](#props-index)<!-- Link generated with jump2header -->
192 192
 
193 193
 If `true` (default; mandatory for Android), loads the `injectedJavaScript` only into the main frame.
194 194
 
@@ -200,7 +200,7 @@ If `false`, (only supported on iOS and macOS), loads it into all frames (e.g. if
200 200
 
201 201
 ---
202 202
 
203
-### `injectedJavaScriptBeforeContentLoadedForMainFrameOnly`
203
+### `injectedJavaScriptBeforeContentLoadedForMainFrameOnly`[⬆](#props-index)<!-- Link generated with jump2header -->
204 204
 
205 205
 If `true` (default; mandatory for Android), loads the `injectedJavaScriptBeforeContentLoaded` only into the main frame.
206 206
 
@@ -212,7 +212,7 @@ If `false`, (only supported on iOS and macOS), loads it into all frames (e.g. if
212 212
 
213 213
 ---
214 214
 
215
-### `mediaPlaybackRequiresUserAction`
215
+### `mediaPlaybackRequiresUserAction`[⬆](#props-index)<!-- Link generated with jump2header -->
216 216
 
217 217
 Boolean that determines whether HTML5 audio and video requires the user to tap them before they start playing. The default value is `true`. (Android API minimum version 17).
218 218
 
@@ -224,7 +224,7 @@ NOTE: the default `true` value might cause some videos to hang loading on iOS. S
224 224
 
225 225
 ---
226 226
 
227
-### `nativeConfig`
227
+### `nativeConfig`[⬆](#props-index)<!-- Link generated with jump2header -->
228 228
 
229 229
 Override the native component used to render the WebView. Enables a custom native WebView which uses the same JavaScript as the original WebView.
230 230
 
@@ -240,7 +240,7 @@ The `nativeConfig` prop expects an object with the following keys:
240 240
 
241 241
 ---
242 242
 
243
-### `onError`
243
+### `onError`[⬆](#props-index)<!-- Link generated with jump2header -->
244 244
 
245 245
 Function that is invoked when the `WebView` load fails.
246 246
 
@@ -280,7 +280,7 @@ url
280 280
 
281 281
 ---
282 282
 
283
-### `onLoad`
283
+### `onLoad`[⬆](#props-index)<!-- Link generated with jump2header -->
284 284
 
285 285
 Function that is invoked when the `WebView` has finished loading.
286 286
 
@@ -313,7 +313,7 @@ url
313 313
 
314 314
 ---
315 315
 
316
-### `onLoadEnd`
316
+### `onLoadEnd`[⬆](#props-index)<!-- Link generated with jump2header -->
317 317
 
318 318
 Function that is invoked when the `WebView` load succeeds or fails.
319 319
 
@@ -347,7 +347,7 @@ url
347 347
 
348 348
 ---
349 349
 
350
-### `onLoadStart`
350
+### `onLoadStart`[⬆](#props-index)<!-- Link generated with jump2header -->
351 351
 
352 352
 Function that is invoked when the `WebView` starts loading.
353 353
 
@@ -381,7 +381,7 @@ url
381 381
 
382 382
 ---
383 383
 
384
-### `onLoadProgress`
384
+### `onLoadProgress`[⬆](#props-index)<!-- Link generated with jump2header -->
385 385
 
386 386
 Function that is invoked when the `WebView` is loading.
387 387
 
@@ -414,7 +414,7 @@ url
414 414
 
415 415
 ---
416 416
 
417
-### `onHttpError`
417
+### `onHttpError`[⬆](#props-index)<!-- Link generated with jump2header -->
418 418
 
419 419
 Function that is invoked when the `WebView` receives an http error.
420 420
 
@@ -458,7 +458,7 @@ url
458 458
 
459 459
 ---
460 460
 
461
-### `onMessage`
461
+### `onMessage`[⬆](#props-index)<!-- Link generated with jump2header -->
462 462
 
463 463
 Function that is invoked when the webview calls `window.ReactNativeWebView.postMessage`. Setting this property will inject this global into your webview.
464 464
 
@@ -472,7 +472,7 @@ To learn more, read the [Communicating between JS and Native](Guide.md#communica
472 472
 
473 473
 ---
474 474
 
475
-### `onNavigationStateChange`
475
+### `onNavigationStateChange`[⬆](#props-index)<!-- Link generated with jump2header -->
476 476
 
477 477
 Function that is invoked when the `WebView` loading starts or ends.
478 478
 
@@ -508,7 +508,7 @@ Note that this method will not be invoked on hash URL changes (e.g. from `https:
508 508
 
509 509
 ---
510 510
 
511
-### `onContentProcessDidTerminate`
511
+### `onContentProcessDidTerminate`[⬆](#props-index)<!-- Link generated with jump2header -->
512 512
 
513 513
 Function that is invoked when the `WebView` content process is terminated.
514 514
 
@@ -542,7 +542,7 @@ url
542 542
 
543 543
 ---
544 544
 
545
-### `originWhitelist`
545
+### `originWhitelist`[⬆](#props-index)<!-- Link generated with jump2header -->
546 546
 
547 547
 List of origin strings to allow being navigated to. The strings allow wildcards and get matched against _just_ the origin (not the full URL). If the user taps to navigate to a new page but the new page is not in this whitelist, the URL will be handled by the OS. The default whitelisted origins are "http://*" and "https://*".
548 548
 
@@ -562,7 +562,7 @@ Example:
562 562
 
563 563
 ---
564 564
 
565
-### `renderError`
565
+### `renderError`[⬆](#props-index)<!-- Link generated with jump2header -->
566 566
 
567 567
 Function that returns a view to show if there's an error.
568 568
 
@@ -583,7 +583,7 @@ The function passed to `renderError` will be called with the name of the error
583 583
 
584 584
 ---
585 585
 
586
-### `renderLoading`
586
+### `renderLoading`[⬆](#props-index)<!-- Link generated with jump2header -->
587 587
 
588 588
 Function that returns a loading indicator. The startInLoadingState prop must be set to true in order to use this prop.
589 589
 
@@ -603,7 +603,7 @@ Example:
603 603
 
604 604
 ---
605 605
 
606
-### `scalesPageToFit`
606
+### `scalesPageToFit`[⬆](#props-index)<!-- Link generated with jump2header -->
607 607
 
608 608
 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 `true`.
609 609
 
@@ -613,7 +613,7 @@ Boolean that controls whether the web content is scaled to fit the view and enab
613 613
 
614 614
 ---
615 615
 
616
-### `onShouldStartLoadWithRequest`
616
+### `onShouldStartLoadWithRequest`[⬆](#props-index)<!-- Link generated with jump2header -->
617 617
 
618 618
 Function that allows custom handling of any web view requests. Return `true` from the function to continue loading the request and `false` to stop loading.
619 619
 
@@ -651,7 +651,7 @@ navigationType
651 651
 
652 652
 ---
653 653
 
654
-### `startInLoadingState`
654
+### `startInLoadingState`[⬆](#props-index)<!-- Link generated with jump2header -->
655 655
 
656 656
 Boolean value that forces the `WebView` to show the loading view on the first load. This prop must be set to `true` in order for the `renderLoading` prop to work.
657 657
 
@@ -661,7 +661,7 @@ Boolean value that forces the `WebView` to show the loading view on the first lo
661 661
 
662 662
 ---
663 663
 
664
-### `style`
664
+### `style`[⬆](#props-index)<!-- Link generated with jump2header -->
665 665
 
666 666
 A style object that allow you to customize the `WebView` style. Please note that there are default styles (example: you need to add `flex: 0` to the style if you want to use `height` property).
667 667
 
@@ -680,7 +680,7 @@ Example:
680 680
 
681 681
 ---
682 682
 
683
-### `containerStyle`
683
+### `containerStyle`[⬆](#props-index)<!-- Link generated with jump2header -->
684 684
 
685 685
 A style object that allow you to customize the `WebView` container style. Please note that there are default styles (example: you need to add `flex: 0` to the style if you want to use `height` property).
686 686
 
@@ -699,7 +699,7 @@ Example:
699 699
 
700 700
 ---
701 701
 
702
-### `decelerationRate`
702
+### `decelerationRate`[⬆](#props-index)<!-- Link generated with jump2header -->
703 703
 
704 704
 A floating-point number that determines how quickly the scroll view decelerates after the user lifts their finger. You may also use the string shortcuts `"normal"` and `"fast"` which match the underlying iOS settings for `UIScrollViewDecelerationRateNormal` and `UIScrollViewDecelerationRateFast` respectively:
705 705
 
@@ -712,7 +712,7 @@ A floating-point number that determines how quickly the scroll view decelerates
712 712
 
713 713
 ---
714 714
 
715
-### `domStorageEnabled`
715
+### `domStorageEnabled`[⬆](#props-index)<!-- Link generated with jump2header -->
716 716
 
717 717
 Boolean value to control whether DOM Storage is enabled. Used only in Android.
718 718
 
@@ -722,7 +722,7 @@ Boolean value to control whether DOM Storage is enabled. Used only in Android.
722 722
 
723 723
 ---
724 724
 
725
-### `javaScriptEnabled`
725
+### `javaScriptEnabled`[⬆](#props-index)<!-- Link generated with jump2header -->
726 726
 
727 727
 Boolean value to enable JavaScript in the `WebView`. The default value is `true`.
728 728
 
@@ -732,7 +732,7 @@ Boolean value to enable JavaScript in the `WebView`. The default value is `true`
732 732
 
733 733
 ---
734 734
 
735
-### `javaScriptCanOpenWindowsAutomatically`
735
+### `javaScriptCanOpenWindowsAutomatically`[⬆](#props-index)<!-- Link generated with jump2header -->
736 736
 
737 737
 A Boolean value indicating whether JavaScript can open windows without user interaction. The default value is `false`.
738 738
 
@@ -742,7 +742,7 @@ A Boolean value indicating whether JavaScript can open windows without user inte
742 742
 
743 743
 ---
744 744
 
745
-### `androidHardwareAccelerationDisabled`
745
+### `androidHardwareAccelerationDisabled`[⬆](#props-index)<!-- Link generated with jump2header -->
746 746
 
747 747
 Boolean value to disable Hardware Acceleration in the `WebView`. Used on Android only as Hardware Acceleration is a feature only for Android. The default value is `false`.
748 748
 
@@ -752,7 +752,7 @@ Boolean value to disable Hardware Acceleration in the `WebView`. Used on Android
752 752
 
753 753
 ---
754 754
 
755
-### `mixedContentMode`
755
+### `mixedContentMode`[⬆](#props-index)<!-- Link generated with jump2header -->
756 756
 
757 757
 Specifies the mixed content mode. i.e WebView will allow a secure origin to load content from any other origin.
758 758
 
@@ -768,7 +768,7 @@ Possible values for `mixedContentMode` are:
768 768
 
769 769
 ---
770 770
 
771
-### `thirdPartyCookiesEnabled`
771
+### `thirdPartyCookiesEnabled`[⬆](#props-index)<!-- Link generated with jump2header -->
772 772
 
773 773
 Boolean value to enable third party cookies in the `WebView`. Used on Android Lollipop and above only as third party cookies are enabled by default on Android Kitkat and below and on iOS. The default value is `true`. For more on cookies, read the [Guide](Guide.md#Managing-Cookies)
774 774
 
@@ -778,7 +778,7 @@ Boolean value to enable third party cookies in the `WebView`. Used on Android Lo
778 778
 
779 779
 ---
780 780
 
781
-### `userAgent`
781
+### `userAgent`[⬆](#props-index)<!-- Link generated with jump2header -->
782 782
 
783 783
 Sets the user-agent for the `WebView`.
784 784
 
@@ -788,7 +788,7 @@ Sets the user-agent for the `WebView`.
788 788
 
789 789
 ---
790 790
 
791
-### `applicationNameForUserAgent`
791
+### `applicationNameForUserAgent`[⬆](#props-index)<!-- Link generated with jump2header -->
792 792
 
793 793
 Append to the existing user-agent. Setting `userAgent` will override this.
794 794
 
@@ -806,7 +806,7 @@ Append to the existing user-agent. Setting `userAgent` will override this.
806 806
 // Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 DemoApp/1.1.0
807 807
 ```
808 808
 
809
-### `allowsFullscreenVideo`
809
+### `allowsFullscreenVideo`[⬆](#props-index)<!-- Link generated with jump2header -->
810 810
 
811 811
 Boolean that determines whether videos are allowed to be played in fullscreen. The default value is `false`.
812 812
 
@@ -816,7 +816,7 @@ Boolean that determines whether videos are allowed to be played in fullscreen. T
816 816
 
817 817
 ---
818 818
 
819
-### `allowsInlineMediaPlayback`
819
+### `allowsInlineMediaPlayback`[⬆](#props-index)<!-- Link generated with jump2header -->
820 820
 
821 821
 Boolean that determines whether HTML5 videos play inline or use the native full-screen controller. The default value is `false`.
822 822
 
@@ -830,7 +830,7 @@ Boolean that determines whether HTML5 videos play inline or use the native full-
830 830
 
831 831
 ---
832 832
 
833
-### `bounces`
833
+### `bounces`[⬆](#props-index)<!-- Link generated with jump2header -->
834 834
 
835 835
 Boolean value that determines whether the web view bounces when it reaches the edge of the content. The default value is `true`.
836 836
 
@@ -840,7 +840,7 @@ Boolean value that determines whether the web view bounces when it reaches the e
840 840
 
841 841
 ---
842 842
 
843
-### `overScrollMode`
843
+### `overScrollMode`[⬆](#props-index)<!-- Link generated with jump2header -->
844 844
 
845 845
 Specifies the over scroll mode.
846 846
 
@@ -856,7 +856,7 @@ Possible values for `overScrollMode` are:
856 856
 
857 857
 ---
858 858
 
859
-### `contentInset`
859
+### `contentInset`[⬆](#props-index)<!-- Link generated with jump2header -->
860 860
 
861 861
 The amount by which the web view content is inset from the edges of the scroll view. Defaults to {top: 0, left: 0, bottom: 0, right: 0}.
862 862
 
@@ -866,7 +866,7 @@ The amount by which the web view content is inset from the edges of the scroll v
866 866
 
867 867
 ---
868 868
 
869
-### `contentInsetAdjustmentBehavior`
869
+### `contentInsetAdjustmentBehavior`[⬆](#props-index)<!-- Link generated with jump2header -->
870 870
 
871 871
 This property specifies how the safe area insets are used to modify the content area of the scroll view. The default value of this property is "never". Available on iOS 11 and later. Defaults to `never`.
872 872
 
@@ -883,7 +883,7 @@ Possible values:
883 883
 
884 884
 ---
885 885
 
886
-### `dataDetectorTypes`
886
+### `dataDetectorTypes`[⬆](#props-index)<!-- Link generated with jump2header -->
887 887
 
888 888
 Determines the types of data converted to clickable URLs in the web view's content. By default only phone numbers are detected.
889 889
 
@@ -907,7 +907,7 @@ Possible values for `dataDetectorTypes` are:
907 907
 
908 908
 ---
909 909
 
910
-### `scrollEnabled`
910
+### `scrollEnabled`[⬆](#props-index)<!-- Link generated with jump2header -->
911 911
 
912 912
 Boolean value that determines whether scrolling is enabled in the `WebView`. The default value is `true`. Setting this to `false` will prevent the webview from moving the document body when the keyboard appears over an input.
913 913
 
@@ -917,7 +917,7 @@ Boolean value that determines whether scrolling is enabled in the `WebView`. The
917 917
 
918 918
 ---
919 919
 
920
-### `directionalLockEnabled`
920
+### `directionalLockEnabled`[⬆](#props-index)<!-- Link generated with jump2header -->
921 921
 
922 922
 A Boolean value that determines whether scrolling is disabled in a particular direction.
923 923
 The default value is `true`.
@@ -928,7 +928,7 @@ The default value is `true`.
928 928
 
929 929
 ---
930 930
 
931
-### `showsHorizontalScrollIndicator`
931
+### `showsHorizontalScrollIndicator`[⬆](#props-index)<!-- Link generated with jump2header -->
932 932
 
933 933
 Boolean value that determines whether a horizontal scroll indicator is shown in the `WebView`. The default value is `true`.
934 934
 
@@ -938,7 +938,7 @@ Boolean value that determines whether a horizontal scroll indicator is shown in
938 938
 
939 939
 ---
940 940
 
941
-### `showsVerticalScrollIndicator`
941
+### `showsVerticalScrollIndicator`[⬆](#props-index)<!-- Link generated with jump2header -->
942 942
 
943 943
 Boolean value that determines whether a vertical scroll indicator is shown in the `WebView`. The default value is `true`.
944 944
 
@@ -948,7 +948,7 @@ Boolean value that determines whether a vertical scroll indicator is shown in th
948 948
 
949 949
 ---
950 950
 
951
-### `geolocationEnabled`
951
+### `geolocationEnabled`[⬆](#props-index)<!-- Link generated with jump2header -->
952 952
 
953 953
 Set whether Geolocation is enabled in the `WebView`. The default value is `false`. Used only in Android.
954 954
 
@@ -958,7 +958,7 @@ Set whether Geolocation is enabled in the `WebView`. The default value is `false
958 958
 
959 959
 ---
960 960
 
961
-### `allowFileAccessFromFileURLs`
961
+### `allowFileAccessFromFileURLs`[⬆](#props-index)<!-- Link generated with jump2header -->
962 962
 
963 963
 Boolean that sets whether JavaScript running in the context of a file scheme URL should be allowed to access content from other file scheme URLs. The default value is `false`.
964 964
 
@@ -968,7 +968,7 @@ Boolean that sets whether JavaScript running in the context of a file scheme URL
968 968
 
969 969
 ---
970 970
 
971
-### `allowUniversalAccessFromFileURLs`
971
+### `allowUniversalAccessFromFileURLs`[⬆](#props-index)<!-- Link generated with jump2header -->
972 972
 
973 973
 Boolean that sets whether JavaScript running in the context of a file scheme URL should be allowed to access content from any origin. Including accessing content from other file scheme URLs. The default value is `false`.
974 974
 
@@ -978,7 +978,7 @@ Boolean that sets whether JavaScript running in the context of a file scheme URL
978 978
 
979 979
 ---
980 980
 
981
-### `allowingReadAccessToURL`
981
+### `allowingReadAccessToURL`[⬆](#props-index)<!-- Link generated with jump2header -->
982 982
 
983 983
 A String value that indicates which URLs the WebView's file can then reference in scripts, AJAX requests, and CSS imports. This is only used in for WebViews that are loaded with a source.uri set to a `'file://'` URL. If not provided, the default is to only allow read access to the URL provided in source.uri itself.
984 984
 
@@ -988,7 +988,7 @@ A String value that indicates which URLs the WebView's file can then reference i
988 988
 
989 989
 ---
990 990
 
991
-### `url`
991
+### `url`[⬆](#props-index)<!-- Link generated with jump2header -->
992 992
 
993 993
 **Deprecated.** Use the `source` prop instead.
994 994
 
@@ -998,7 +998,7 @@ A String value that indicates which URLs the WebView's file can then reference i
998 998
 
999 999
 ---
1000 1000
 
1001
-### `html`
1001
+### `html`[⬆](#props-index)<!-- Link generated with jump2header -->
1002 1002
 
1003 1003
 **Deprecated.** Use the `source` prop instead.
1004 1004
 
@@ -1008,7 +1008,7 @@ A String value that indicates which URLs the WebView's file can then reference i
1008 1008
 
1009 1009
 ---
1010 1010
 
1011
-### `keyboardDisplayRequiresUserAction`
1011
+### `keyboardDisplayRequiresUserAction`[⬆](#props-index)<!-- Link generated with jump2header -->
1012 1012
 
1013 1013
 If false, web content can programmatically display the keyboard. The default value is `true`.
1014 1014
 
@@ -1018,7 +1018,7 @@ If false, web content can programmatically display the keyboard. The default val
1018 1018
 
1019 1019
 ---
1020 1020
 
1021
-### `hideKeyboardAccessoryView`
1021
+### `hideKeyboardAccessoryView`[⬆](#props-index)<!-- Link generated with jump2header -->
1022 1022
 
1023 1023
 If true, this will hide the keyboard accessory view (< > and Done).
1024 1024
 
@@ -1028,7 +1028,7 @@ If true, this will hide the keyboard accessory view (< > and Done).
1028 1028
 
1029 1029
 ---
1030 1030
 
1031
-### `allowsBackForwardNavigationGestures`
1031
+### `allowsBackForwardNavigationGestures`[⬆](#props-index)<!-- Link generated with jump2header -->
1032 1032
 
1033 1033
 If true, this will be able horizontal swipe gestures. The default value is `false`.
1034 1034
 
@@ -1038,7 +1038,7 @@ If true, this will be able horizontal swipe gestures. The default value is `fals
1038 1038
 
1039 1039
 ---
1040 1040
 
1041
-### `incognito`
1041
+### `incognito`[⬆](#props-index)<!-- Link generated with jump2header -->
1042 1042
 
1043 1043
 Does not store any data within the lifetime of the WebView.
1044 1044
 
@@ -1048,7 +1048,7 @@ Does not store any data within the lifetime of the WebView.
1048 1048
 
1049 1049
 ---
1050 1050
 
1051
-### `allowFileAccess`
1051
+### `allowFileAccess`[⬆](#props-index)<!-- Link generated with jump2header -->
1052 1052
 
1053 1053
 If true, this will allow access to the file system via `file://` URI's. The default value is `false`.
1054 1054
 
@@ -1058,7 +1058,7 @@ If true, this will allow access to the file system via `file://` URI's. The defa
1058 1058
 
1059 1059
 ---
1060 1060
 
1061
-### `saveFormDataDisabled`
1061
+### `saveFormDataDisabled`[⬆](#props-index)<!-- Link generated with jump2header -->
1062 1062
 
1063 1063
 Sets whether the WebView should disable saving form data. The default value is `false`. This function does not have any effect from Android API level 26 onwards as there is an Autofill feature which stores form data.
1064 1064
 
@@ -1068,7 +1068,7 @@ Sets whether the WebView should disable saving form data. The default value is `
1068 1068
 
1069 1069
 ---
1070 1070
 
1071
-### `cacheEnabled`
1071
+### `cacheEnabled`[⬆](#props-index)<!-- Link generated with jump2header -->
1072 1072
 
1073 1073
 Sets whether WebView should use browser caching.
1074 1074
 
@@ -1078,7 +1078,7 @@ Sets whether WebView should use browser caching.
1078 1078
 
1079 1079
 ---
1080 1080
 
1081
-### `cacheMode`
1081
+### `cacheMode`[⬆](#props-index)<!-- Link generated with jump2header -->
1082 1082
 
1083 1083
 Overrides the way the cache is used. The way the cache is used is based on the navigation type. For a normal page load, the cache is checked and content is re-validated as needed. When navigating back, content is not revalidated, instead the content is just retrieved from the cache. This property allows the client to override this behavior.
1084 1084
 
@@ -1095,7 +1095,7 @@ Possible values are:
1095 1095
 
1096 1096
 ---
1097 1097
 
1098
-### `pagingEnabled`
1098
+### `pagingEnabled`[⬆](#props-index)<!-- Link generated with jump2header -->
1099 1099
 
1100 1100
 If the value of this property is true, the scroll view stops on multiples of the scroll view’s bounds when the user scrolls. The default value is false.
1101 1101
 
@@ -1105,7 +1105,7 @@ If the value of this property is true, the scroll view stops on multiples of the
1105 1105
 
1106 1106
 ---
1107 1107
 
1108
-### `allowsLinkPreview`
1108
+### `allowsLinkPreview`[⬆](#props-index)<!-- Link generated with jump2header -->
1109 1109
 
1110 1110
 A Boolean value that determines whether pressing on a link displays a preview of the destination for the link. In iOS this property is available on devices that support 3D Touch. In iOS 10 and later, the default value is true; before that, the default value is false.
1111 1111
 
@@ -1115,7 +1115,7 @@ A Boolean value that determines whether pressing on a link displays a preview of
1115 1115
 
1116 1116
 ---
1117 1117
 
1118
-### `sharedCookiesEnabled`
1118
+### `sharedCookiesEnabled`[⬆](#props-index)<!-- Link generated with jump2header -->
1119 1119
 
1120 1120
 Set `true` if shared cookies from `[NSHTTPCookieStorage sharedHTTPCookieStorage]` should used for every load request in the WebView. The default value is `false`. For more on cookies, read the [Guide](Guide.md#Managing-Cookies)
1121 1121
 
@@ -1125,7 +1125,7 @@ Set `true` if shared cookies from `[NSHTTPCookieStorage sharedHTTPCookieStorage]
1125 1125
 
1126 1126
 ---
1127 1127
 
1128
-### `textZoom`
1128
+### `textZoom`[⬆](#props-index)<!-- Link generated with jump2header -->
1129 1129
 
1130 1130
 If the user has set a custom font size in the Android system, an undesirable scale of the site interface in WebView occurs.
1131 1131
 
@@ -1139,7 +1139,7 @@ Example:
1139 1139
 
1140 1140
 `<WebView textZoom={100} />`
1141 1141
 
1142
-### `ignoreSilentHardwareSwitch`
1142
+### `ignoreSilentHardwareSwitch`[⬆](#props-index)<!-- Link generated with jump2header -->
1143 1143
 
1144 1144
 (ios only)
1145 1145
 
@@ -1149,7 +1149,7 @@ When set to true the hardware silent switch is ignored. Default: `false`
1149 1149
 | ------- | -------- | -------- |
1150 1150
 | boolean | No       | iOS      |
1151 1151
 
1152
-### `onFileDownload`
1152
+### `onFileDownload`[⬆](#props-index)<!-- Link generated with jump2header -->
1153 1153
 This property is iOS-only.
1154 1154
 
1155 1155
 Function that is invoked when the client needs to download a file.
@@ -1183,13 +1183,13 @@ Example:
1183 1183
 
1184 1184
 ## Methods
1185 1185
 
1186
-### `extraNativeComponentConfig()`
1186
+### `extraNativeComponentConfig()`[⬆](#methods-index)<!-- Link generated with jump2header -->
1187 1187
 
1188 1188
 ```javascript
1189 1189
 static extraNativeComponentConfig()
1190 1190
 ```
1191 1191
 
1192
-### `goForward()`
1192
+### `goForward()`[⬆](#methods-index)<!-- Link generated with jump2header -->
1193 1193
 
1194 1194
 ```javascript
1195 1195
 goForward();
@@ -1197,7 +1197,7 @@ goForward();
1197 1197
 
1198 1198
 Go forward one page in the web view's history.
1199 1199
 
1200
-### `goBack()`
1200
+### `goBack()`[⬆](#methods-index)<!-- Link generated with jump2header -->
1201 1201
 
1202 1202
 ```javascript
1203 1203
 goBack();
@@ -1205,7 +1205,7 @@ goBack();
1205 1205
 
1206 1206
 Go back one page in the web view's history.
1207 1207
 
1208
-### `reload()`
1208
+### `reload()`[⬆](#methods-index)<!-- Link generated with jump2header -->
1209 1209
 
1210 1210
 ```javascript
1211 1211
 reload();
@@ -1213,7 +1213,7 @@ reload();
1213 1213
 
1214 1214
 Reloads the current page.
1215 1215
 
1216
-### `stopLoading()`
1216
+### `stopLoading()`[⬆](#methods-index)<!-- Link generated with jump2header -->
1217 1217
 
1218 1218
 ```javascript
1219 1219
 stopLoading();
@@ -1221,7 +1221,7 @@ stopLoading();
1221 1221
 
1222 1222
 Stop loading the current page.
1223 1223
 
1224
-### `injectJavaScript(str)`
1224
+### `injectJavaScript(str)`[⬆](#methods-index)<!-- Link generated with jump2header -->
1225 1225
 
1226 1226
 ```javascript
1227 1227
 injectJavaScript('... javascript string ...');
@@ -1231,7 +1231,7 @@ Executes the JavaScript string.
1231 1231
 
1232 1232
 To learn more, read the [Communicating between JS and Native](Guide.md#communicating-between-js-and-native) guide.
1233 1233
 
1234
-### `requestFocus()`
1234
+### `requestFocus()`[⬆](#methods-index)<!-- Link generated with jump2header -->
1235 1235
 
1236 1236
 ```javascript
1237 1237
 requestFocus();
@@ -1239,14 +1239,14 @@ requestFocus();
1239 1239
 
1240 1240
 Request the webView to ask for focus. (People working on TV apps might want having a look at this!)
1241 1241
 
1242
-### `postMessage(str)`
1242
+### `postMessage(str)`[⬆](#methods-index)<!-- Link generated with jump2header -->
1243 1243
 
1244 1244
 ```javascript
1245 1245
 postMessage('message');
1246 1246
 ```
1247 1247
 Post a message to WebView, handled by [`onMessage`](Reference.md#onmessage).
1248 1248
 
1249
-### `clearFormData()`
1249
+### `clearFormData()`[⬆](#methods-index)<!-- Link generated with jump2header -->
1250 1250
 
1251 1251
 (android only)
1252 1252
 
@@ -1256,7 +1256,7 @@ clearFormData();
1256 1256
 
1257 1257
 Removes the autocomplete popup from the currently focused form field, if present. [developer.android.com reference](<https://developer.android.com/reference/android/webkit/WebView.html#clearFormData()>)
1258 1258
 
1259
-### `clearCache(bool)`
1259
+### `clearCache(bool)`[⬆](#methods-index)<!-- Link generated with jump2header -->
1260 1260
 
1261 1261
 (android only)
1262 1262
 
@@ -1266,7 +1266,7 @@ clearCache(true);
1266 1266
 
1267 1267
 Clears the resource cache. Note that the cache is per-application, so this will clear the cache for all WebViews used. [developer.android.com reference](<https://developer.android.com/reference/android/webkit/WebView.html#clearCache(boolean)>)
1268 1268
 
1269
-### `clearHistory()`
1269
+### `clearHistory()`[⬆](#methods-index)<!-- Link generated with jump2header -->
1270 1270
 
1271 1271
 (android only)
1272 1272