aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/navigator/sendbeacon/index.html
diff options
context:
space:
mode:
authorhunter2009 <24166618@qq.com>2022-01-19 00:46:32 +0800
committerGitHub <noreply@github.com>2022-01-19 00:46:32 +0800
commit65ece22e8f637c2e4283a60f7bc4de230f25a2fe (patch)
tree4dd2b798735db564ccc54c538e24645588e50aee /files/zh-cn/web/api/navigator/sendbeacon/index.html
parent85f9b51fd1d66f5179e5b1f10798741f8f54fec6 (diff)
downloadtranslated-content-65ece22e8f637c2e4283a60f7bc4de230f25a2fe.tar.gz
translated-content-65ece22e8f637c2e4283a60f7bc4de230f25a2fe.tar.bz2
translated-content-65ece22e8f637c2e4283a60f7bc4de230f25a2fe.zip
Update Navigator sendBeacon html (#3700)
Add `ArrayBuffer` and `URLSearchParams` to `data` option
Diffstat (limited to 'files/zh-cn/web/api/navigator/sendbeacon/index.html')
-rw-r--r--files/zh-cn/web/api/navigator/sendbeacon/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/navigator/sendbeacon/index.html b/files/zh-cn/web/api/navigator/sendbeacon/index.html
index 76ebbe89a8..13158ebca2 100644
--- a/files/zh-cn/web/api/navigator/sendbeacon/index.html
+++ b/files/zh-cn/web/api/navigator/sendbeacon/index.html
@@ -25,7 +25,7 @@ translation_of: Web/API/Navigator/sendBeacon
<dl>
<dt><code>data</code></dt>
- <dd><code>data</code> 参数是将要发送的 {{domxref("ArrayBufferView")}} 或 {{domxref("Blob")}}, {{domxref("DOMString")}} 或者 {{domxref("FormData")}} 类型的数据。</dd>
+ <dd><code>data</code> 参数支持发送 {{domxref("ArrayBuffer")}} 、 {{domxref("ArrayBufferView")}} 、 {{domxref("Blob")}}、 {{domxref("DOMString")}} 、 {{domxref("FormData")}} 或者 {{domxref("URLSearchParams")}} 类型的数据。</dd>
</dl>
<h3 id="返回值">返回值</h3>