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
| jumpToFirst |`boolean`| true | Whether to set the first target on mount as active even if not (yet) intersecting. |
207
207
| jumpToLast |`boolean`| true | Whether to set the last target as active once reached the bottom. |
208
-
| boundaryOffset |`BoundaryOffset`| { toTop: 0, toBottom: 0 } | Boundary offset in px for each scroll direction. Tweak them to "anticipate" or "delay" targets detection. |
208
+
| boundaryOffset |`BoundaryOffset`| { toTop: 0, toBottom: 0 } | Boundary offset in px for each scroll direction. Tweak them to "anticipate" or "delay" target detection.|
209
209
| rootId |`string`\|`null`| null | Id of the scrolling element. Set it only if your content **is not scrolled** by the window. |
210
210
| replaceHash |`boolean`| false | Whether to replace URL hash on scroll. First target is ignored if `jumpToFirst` is true. |
211
211
| overlayHeight |`number`| 0 | Height in pixels of any **CSS fixed** content that overlaps the top of your scrolling area (e.g. fixed header). Must be paired with a CSS [scroll-margin-top]() rule. |
212
-
| minWidth |`number`| 0 |Viewport width in px from which scroll listeners should be toggled. Useful if hiding the sidebar with`display: none` within a specific width.|
212
+
| minWidth |`number`| 0 |Whether to toggle listeners and functionalities within a specific width. Useful if hiding the sidebar using`display: none`. |
213
213
214
214
### Return object
215
215
@@ -342,7 +342,7 @@ html {
342
342
</style>
343
343
```
344
344
345
-
> :bulb: If you're playing with transitions or advanced styling rules simply use of_activeIndex_ and _activeId_.
345
+
> :bulb: If you're playing with transitions or advanced styling rules simply leverage_activeIndex_ and _activeId_.
346
346
347
347
<br />
348
348
@@ -411,7 +411,7 @@ const router = createRouter({
411
411
})
412
412
```
413
413
414
-
> :bulb: No need to set overlayHeight if using `scrollIntoView` as the method reads the `scroll-margin-top` target property.
414
+
> :bulb: No need to set overlayHeight if using `scrollIntoView` as the method is aware of target's `scroll-margin-top` property.
0 commit comments