Skip to content

Commit c2e1dad

Browse files
author
Daniel E. Cornelis G. A. Kolbach
authored
Update documentation.md
1 parent cfb3c11 commit c2e1dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/navigation/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ The available options are:
3636
| scroll-item-side | `top` | top, bottom, middle, auto | Side of element that scrolls. This is used to calculate the current item. The defined side of the element will be used to calculate the distance baseline. If this is set to "auto" then one of the "top" or "bottom" positions are used, depending on which one is nearer to the distance baseline. |
3737
| scroll-item-distance | `50%` | | Distance from side of scroll box. any amount in px or %. This is used to calculate the current item. The nearest element to the distance-baseline measured from the top of the container will get the current class. |
3838
| scroll-item-visibility | | none, most-visible | Visibility of the item/element in scroll box. This is used to calculate the current item. If "most-visible" is set, the element which is most visible in the scroll container gets the current class. If more elements have the same visibility ratio, the other conditions are used to calculate the current one. |
39-
| scroll-trigger-selector | `a[href^='#'].scroll-marker` | CSS selector | Selects the element within the pat-navigation container that should get a class current while scrolling, when applicable. |
39+
| scroll-trigger-selector | `a[href^='#'].scroll-marker` | CSS selector, none | Selects the element within the pat-navigation container that should get a class current while scrolling, when applicable. |
4040

0 commit comments

Comments
 (0)