# IntersectionObserver
IntersectionObserver Object that infers whether and what percentage of nodes are visible to the user.
# method
# IntersectionObserver IntersectionObserver.relativeTo(string selector, Object margins)
Use the selector to specify a node as one of the reference ranges.
# IntersectionObserver IntersectionObserver.relativeToViewport(Object margins)
Specify the page display area as one of the reference areas
# IntersectionObserver.observe(string targetSelector, IntersectionObserver.observeCallback callback)
Specify the target node and start listening for changes in the intersection state
# IntersectionObserver.disconnect()
Stop listening. The callback function will no longer trigger