aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/intersectionobserver/disconnect/index.md
blob: 692567c386442be4ac63d55bdfec73b36c254a69 (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
---
title: IntersectionObserver.disconnect()
slug: Web/API/IntersectionObserver/disconnect
tags:
  - API
  - Disconnect
  - Intersection Observer
  - Intersection Observer API
  - IntersectionObserver
  - Method
  - Reference
browser-compat: api.IntersectionObserver.disconnect
translation_of: Web/API/IntersectionObserver/disconnect
---
{{APIRef("Intersection Observer API")}}

{{domxref("IntersectionObserver")}}의 **`disconnect()`** 메서드는 감지기의 모든 가시성 변화 주시 대상을 해제합니다.

## 구문

```js
intersectionObserver.disconnect();
```

### 반환 값

`undefined`.

## 명세

{{Specifications}}

## 브라우저 호환성

{{Compat}}

## 같이 보기

- {{domxref("IntersectionObserver.observe", "observe()")}}
- {{domxref("IntersectionObserver.unobserve", "unobserve()")}}