blob: 6c04bb0f8df43d3844ab664eb5c64fb3207f90ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
---
title: IntersectionObserver.disconnect()
slug: Web/API/IntersectionObserver/disconnect
tags:
- API
- Disconnect
- Intersection Observer
- Intersection Observer API
- IntersectionObserver
- Method
- Reference
- メソッド
translation_of: Web/API/IntersectionObserver/disconnect
---
<div>{{APIRef("Intersection Observer API")}}</div>
<p><span class="seoSummary">{{domxref("IntersectionObserver")}} の <code><strong>disconnect()</strong></code> メソッドは、すべての対象要素について、表示状態の変化の監視を停止します。</span></p>
<h2 id="Syntax" name="Syntax">構文</h2>
<pre class="syntaxbox"><em>intersectionObserver</em>.disconnect();</pre>
<h3 id="Parameters" name="Parameters">引数</h3>
<p>なし。</p>
<h3 id="Return_value" name="Return_value">返値</h3>
<p><code>undefined</code>。</p>
<h2 id="Specifications" name="Specifications">仕様書</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">仕様書</th>
<th scope="col">状態</th>
<th scope="col">備考</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('IntersectionObserver','#dom-intersectionobserver-disconnect','IntersectionObserver.disconnect()')}}</td>
<td>{{Spec2('IntersectionObserver')}}</td>
<td>初回定義</td>
</tr>
</tbody>
</table>
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
<p>{{Compat("api.IntersectionObserver.disconnect")}}</p>
<h2 id="See_also" name="See_also">関連情報</h2>
<ul>
<li>{{domxref("IntersectionObserver.observe", "observe()")}}</li>
<li>{{domxref("IntersectionObserver.unobserve", "unobserve()")}}</li>
</ul>
|