File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 55
66callback IntersectionObserverCallback = void (sequence<IntersectionObserverEntry> entries, IntersectionObserver observer);
77
8- [Constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options),
9- Exposed=Window]
8+ [Exposed=Window]
109interface IntersectionObserver {
10+ constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options = {});
1111 readonly attribute Node? root;
1212 readonly attribute DOMString rootMargin;
1313 readonly attribute FrozenArray<double> thresholds;
@@ -17,8 +17,9 @@ interface IntersectionObserver {
1717 sequence<IntersectionObserverEntry> takeRecords();
1818};
1919
20- [Constructor(IntersectionObserverEntryInit intersectionObserverEntryInit) ]
20+ [Exposed=Window ]
2121interface IntersectionObserverEntry {
22+ constructor(IntersectionObserverEntryInit intersectionObserverEntryInit);
2223 readonly attribute DOMHighResTimeStamp time;
2324 readonly attribute DOMRectReadOnly? rootBounds;
2425 readonly attribute DOMRectReadOnly boundingClientRect;
You can’t perform that action at this time.
0 commit comments