IntersectionObserver.disconnect()

IntersectionObserverdisconnect() 메서드는 감지기의 모든 가시성 변화 주시 대상을 해제합니다.

구문

intersectionObserver.disconnect();

반환 값

undefined.

명세

Specification
Intersection Observer
# dom-intersectionobserver-disconnect

브라우저 호환성

BCD tables only load in the browser

같이 보기