IntersectionObserver: disconnect() メソッド
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2019年3月.
disconnect()
は IntersectionObserver
のメソッドで、すべての対象要素について、表示状態の変化を監視しているオブザーバーを停止します。