Skip to content

Commit 247d925

Browse files
authored
Add more keys to Intersection observer (#2052)
1 parent b190b1b commit 247d925

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

features/intersection-observer.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
11
name: Intersection observer
22
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.
33
spec: https://w3c.github.io/IntersectionObserver/
4+
status:
5+
compute_from: api.IntersectionObserverEntry.isIntersecting
46
caniuse: intersectionobserver
7+
compat_features:
8+
- api.IntersectionObserver
9+
- api.IntersectionObserver.IntersectionObserver
10+
- api.IntersectionObserver.IntersectionObserver.options_root_parameter_Document
11+
- api.IntersectionObserver.delay
12+
- api.IntersectionObserver.disconnect
13+
- api.IntersectionObserver.observe
14+
- api.IntersectionObserver.root
15+
- api.IntersectionObserver.rootMargin
16+
- api.IntersectionObserver.scrollMargin
17+
- api.IntersectionObserver.takeRecords
18+
- api.IntersectionObserver.thresholds
19+
- api.IntersectionObserver.trackVisibility
20+
- api.IntersectionObserver.unobserve
21+
- api.IntersectionObserverEntry
22+
- api.IntersectionObserverEntry.IntersectionObserverEntry
23+
- api.IntersectionObserverEntry.boundingClientRect
24+
- api.IntersectionObserverEntry.intersectionRatio
25+
- api.IntersectionObserverEntry.intersectionRect
26+
- api.IntersectionObserverEntry.isIntersecting
27+
- api.IntersectionObserverEntry.isVisible
28+
- api.IntersectionObserverEntry.rootBounds
29+
- api.IntersectionObserverEntry.target
30+
- api.IntersectionObserverEntry.time

features/intersection-observer.yml.dist

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,38 @@ compat_features:
6767
# safari: "12.1"
6868
# safari_ios: "12.2"
6969
- api.IntersectionObserverEntry.isIntersecting
70+
71+
# baseline: high
72+
# baseline_low_date: 2020-09-16
73+
# baseline_high_date: 2023-03-16
74+
# support:
75+
# chrome: "81"
76+
# chrome_android: "81"
77+
# edge: "81"
78+
# firefox: "76"
79+
# firefox_android: "79"
80+
# safari: "14"
81+
# safari_ios: "14"
82+
- api.IntersectionObserver.IntersectionObserver.options_root_parameter_Document
83+
84+
# baseline: false
85+
# support:
86+
# chrome: "74"
87+
# chrome_android: "74"
88+
# edge: "79"
89+
- api.IntersectionObserver.delay
90+
- api.IntersectionObserver.trackVisibility
91+
- api.IntersectionObserverEntry.isVisible
92+
93+
# baseline: false
94+
# support:
95+
# chrome: "120"
96+
# chrome_android: "120"
97+
# edge: "120"
98+
- api.IntersectionObserver.scrollMargin
99+
100+
# baseline: false
101+
# support:
102+
# safari: "12.1"
103+
# safari_ios: "12.2"
104+
- api.IntersectionObserverEntry.IntersectionObserverEntry

0 commit comments

Comments
 (0)