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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,7 @@ argument for the hooks.
155
155
|**delay** 🧪 | number | undefined | false | A number indicating the minimum delay in milliseconds between notifications from this observer for a given target. This must be set to at least `100` if `trackVisibility` is `true`. |
156
156
|**skip**| boolean | false | false | Skip creating the IntersectionObserver. You can use this to enable and disable the observer as needed. If `skip` is set while `inView`, the current state will still be kept. |
157
157
|**triggerOnce**| boolean | false | false | Only trigger the observer once. |
158
-
|**initialInView**| boolean | false | false | Set the initial value of the `inView` boolean. This can be used if you you expect the element to be in the viewport to start with, and you want to trigger something when it leaves. |
158
+
|**initialInView**| boolean | false | false | Set the initial value of the `inView` boolean. This can be used if you expect the element to be in the viewport to start with, and you want to trigger something when it leaves. |
159
159
160
160
> ⚠️ When passing an array to `threshold`, store the array in a constant to
161
161
> avoid the component re-rendering too often. For example:
0 commit comments