You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: USAGE.md
+1
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,7 @@ The `Watcher` constructor can be passed 3 different options:
106
106
*`time` - The time threshold
107
107
*`ratio` - The ratio threshold
108
108
*`rootMargin` - The [rootMargin](https://wicg.github.io/IntersectionObserver/#dom-intersectionobserverinit-rootmargin) in object form.
109
+
*`root` - The [root](https://wicg.github.io/IntersectionObserver/#intersectionobserver-intersection-root) element with respect to which we want to watch the target. By default it is window.
0 commit comments