From 7c716359c04dc695771537779e228143fd907cc3 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 14 Sep 2024 11:25:41 +0800 Subject: [PATCH] sync --- files/zh-cn/web/api/workernavigator/connection/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/zh-cn/web/api/workernavigator/connection/index.md b/files/zh-cn/web/api/workernavigator/connection/index.md index b0fafbaf7f07e7..ff78808e38c1ad 100644 --- a/files/zh-cn/web/api/workernavigator/connection/index.md +++ b/files/zh-cn/web/api/workernavigator/connection/index.md @@ -2,10 +2,10 @@ title: WorkerNavigator:connection 属性 slug: Web/API/WorkerNavigator/connection l10n: - sourceCommit: 5671055d63552c5a4dc22ce7f6bea408afa1521a + sourceCommit: e8fe043f7d2ad7cd9804d1bf96e0310949f1dac7 --- -{{APIRef("Network Information API")}} +{{APIRef("Network Information API")}}{{AvailableInWorkers("worker")}} {{domxref("WorkerNavigator")}} 接口的 **`connection`** 只读属性返回一个包含有关系统网络连接信息的 {{domxref("NetworkInformation")}} 对象,例如用户设备的当前带宽或连接是否按流量计费。这可以用于根据用户的连接状态来选择高清晰度内容或低清晰度内容。