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
|`trigger`|`click`|`click`, `auto`, `manual`|`auto` means that the scrolling will happen as soon as the page loads, additional to `click` events. `click` means that the configured element needs to be clicked first. `manual` does only scroll when initialized via JavaScript. |
53
-
|`direction`|`top`|`top`, `left`| The direction in which the scrolling happens. |
54
-
|`selector`|| CSS selector, `top`, `bottom` or `self`| A CSS selector for the element which will be scrolled into view. `self` if it is the pat-scoll element itself. `top` to scroll to the very top of the scroll container, `bottom` to scroll to the very bottom. |
55
-
|`offset`|| A number |`offset` in pixels to stop scrolling before the target position. Can also be a negative number. |
| trigger |`click`|`click`, `auto`, `manual`|`auto` means that the scrolling will happen as soon as the page loads, additional to `click` events. `click` means that the configured element needs to be clicked first. `manual` does only scroll when initialized via JavaScript. |
53
+
| direction |`top`|`top`, `left`| The direction in which the scrolling happens. |
54
+
| selector || CSS selector, `top`, `bottom` or `self`| A CSS selector for the element which will be scrolled into view. `self` if it is the pat-scoll element itself. `top` to scroll to the very top of the scroll container, `bottom` to scroll to the very bottom. |
55
+
| offset |`0`| A number |`offset` in pixels to stop scrolling before the target position. Can also be a negative number. |
56
+
| delay || A number | A delay in ms, after which scrolling should start. |
0 commit comments