Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2019년 3월.
IntersectionObserver의 takeRecords() 메서드는 주시 대상 중에서 마지막 교차 변화 알림 이후, 즉 명시적인 takeRecords() 호출 또는 감지기의 콜백 자동 호출 이후 교차 영역에 변화가 생긴 요소를 나타내는 IntersectionObserverEntry 객체의 배열을 반환합니다.
참고 : 콜백으로 교차 영역의 변화를 관측하고 있으면 굳이 이 메서드를 호출하지 않아도 됩니다. takeRecords()를 호출하면 대기 중인 교차 변화 감지 목록을 초기화하므로 감지기가 콜백을 호출하지 않을 것입니다.
마지막 교차 변화 알림 이후 교차 영역의 변화를 감지한 대상 요소를 나타내는 IntersectionObserverEntry의 배열.
| Intersection Observer # dom-intersectionobserver-takerecords |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2024년 8월 1일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.