From 9a64ccce707a46273e3138a90348388161519c86 Mon Sep 17 00:00:00 2001 From: 怀瑾 Date: Sun, 22 Aug 2021 18:20:26 +0800 Subject: Update InterserctionObservable content, zh-CN (#2161) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * IntersectionObserver update * Intersection_Observer_API 根据最新英文版对照编辑, 更新&新增了一些翻译, 添加了英文版最新内容(还没翻译完)... * flaw fix except macros --- .../api/intersectionobserver/disconnect/index.html | 24 +++------- .../zh-cn/web/api/intersectionobserver/index.html | 24 +++------- .../api/intersectionobserver/observe/index.html | 55 ++++++++++++---------- .../api/intersectionobserver/unobserve/index.html | 30 +++++------- 4 files changed, 56 insertions(+), 77 deletions(-) (limited to 'files/zh-cn/web/api/intersectionobserver') diff --git a/files/zh-cn/web/api/intersectionobserver/disconnect/index.html b/files/zh-cn/web/api/intersectionobserver/disconnect/index.html index 0e4513516e..92a8b99ff1 100644 --- a/files/zh-cn/web/api/intersectionobserver/disconnect/index.html +++ b/files/zh-cn/web/api/intersectionobserver/disconnect/index.html @@ -4,6 +4,8 @@ slug: Web/API/IntersectionObserver/disconnect tags: - API - Disconnect + - Intersection Observer + - Intersection Observer API - IntersectionObserver - Method translation_of: Web/API/IntersectionObserver/disconnect @@ -14,7 +16,8 @@ translation_of: Web/API/IntersectionObserver/disconnect

语法

-
IntersectionObserver.disconnect();
+
intersectionObserver.disconnect();

参数

@@ -26,26 +29,13 @@ translation_of: Web/API/IntersectionObserver/disconnect

说明

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('IntersectionObserver','#dom-intersectionobserver-disconnect','IntersectionObserver.disconnect()')}}{{Spec2('IntersectionObserver')}}Initial definition.
+{{Specifications}}

浏览器兼容性 

-

{{Compat("api.IntersectionObserver.disconnect")}}

+

{{Compat}}

-

See also

+

参考