IntersectionObserver: disconnect() method
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.
Phương thức disconnect() của giao diện IntersectionObserver dừng trình quan sát không theo dõi tất cả các phần tử đích để phát hiện thay đổi về khả năng hiển thị.
Cú pháp
js
disconnect()
Tham số
Không có.
Giá trị trả về
Không có (undefined).
Thông số kỹ thuật
| Thông số kỹ thuật |
|---|
| Intersection Observer> # dom-intersectionobserver-disconnect> |