Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more keys to Intersection observer #2052

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions features/intersection-observer.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
name: Intersection observer
description: The Intersection Observer API asynchronously observes changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.
spec: https://w3c.github.io/IntersectionObserver/
status:
compute_from: api.IntersectionObserverEntry.isIntersecting
caniuse: intersectionobserver
compat_features:
- api.IntersectionObserver
- api.IntersectionObserver.IntersectionObserver
- api.IntersectionObserver.IntersectionObserver.options_root_parameter_Document
- api.IntersectionObserver.delay
- api.IntersectionObserver.disconnect
- api.IntersectionObserver.observe
- api.IntersectionObserver.root
- api.IntersectionObserver.rootMargin
- api.IntersectionObserver.scrollMargin
- api.IntersectionObserver.takeRecords
- api.IntersectionObserver.thresholds
- api.IntersectionObserver.trackVisibility
- api.IntersectionObserver.unobserve
- api.IntersectionObserverEntry
- api.IntersectionObserverEntry.IntersectionObserverEntry
- api.IntersectionObserverEntry.boundingClientRect
- api.IntersectionObserverEntry.intersectionRatio
- api.IntersectionObserverEntry.intersectionRect
- api.IntersectionObserverEntry.isIntersecting
- api.IntersectionObserverEntry.isVisible
- api.IntersectionObserverEntry.rootBounds
- api.IntersectionObserverEntry.target
- api.IntersectionObserverEntry.time
35 changes: 35 additions & 0 deletions features/intersection-observer.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,38 @@ compat_features:
# safari: "12.1"
# safari_ios: "12.2"
- api.IntersectionObserverEntry.isIntersecting

# baseline: high
# baseline_low_date: 2020-09-16
# baseline_high_date: 2023-03-16
# support:
# chrome: "81"
# chrome_android: "81"
# edge: "81"
# firefox: "76"
# firefox_android: "79"
# safari: "14"
# safari_ios: "14"
- api.IntersectionObserver.IntersectionObserver.options_root_parameter_Document

# baseline: false
# support:
# chrome: "74"
# chrome_android: "74"
# edge: "79"
- api.IntersectionObserver.delay
- api.IntersectionObserver.trackVisibility
- api.IntersectionObserverEntry.isVisible

# baseline: false
# support:
# chrome: "120"
# chrome_android: "120"
# edge: "120"
- api.IntersectionObserver.scrollMargin

# baseline: false
# support:
# safari: "12.1"
# safari_ios: "12.2"
- api.IntersectionObserverEntry.IntersectionObserverEntry