瀏覽代碼

[docs] add reference docs for new `enableCache` prop

Salakar 6 年之前
父節點
當前提交
c9aa593ec8
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11
    0
      docs/Reference.md

+ 11
- 0
docs/Reference.md 查看文件

@@ -46,6 +46,7 @@ This document lays out the current public properties and methods for the React N
46 46
 - [`allowsBackForwardNavigationGestures`](Reference.md#allowsbackforwardnavigationgestures)
47 47
 - [`allowFileAccess`](Reference.md#allowFileAccess)
48 48
 - [`saveFormDataDisabled`](Reference.md#saveFormDataDisabled)
49
+- [`enableCache`](Reference.md#enableCache)
49 50
 
50 51
 ## Methods Index
51 52
 
@@ -517,6 +518,16 @@ Sets whether the WebView should disable saving form data. The default value is `
517 518
 | ------- | -------- | -------- |
518 519
 | boolean | No       | Android  |
519 520
 
521
+---
522
+
523
+### `enableCache`
524
+
525
+Sets whether WebView & WKWebView should use browser caching.
526
+
527
+| Type    | Required | Default |
528
+| ------- | -------- | ------- |
529
+| boolean | No       | true    |
530
+
520 531
 ## Methods
521 532
 
522 533
 ### `extraNativeComponentConfig()`