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
{{ message }}
This repository was archived by the owner on Nov 5, 2023. It is now read-only.
|`pageProviderDebounceTime`| Debounce window in milliseconds on the calls to `pageProvider`|`number`| Optional, an integer greater than or equal to 0 |
37
38
|`pageSize`| The number of items in a page from the item provider (e.g. a backend API) |`number`| Required, an integer greater than or equal to 1 |
38
39
|`scrollTo`| Scroll to a specific item by index |`number`| Optional, an integer from 0 to the `length` prop - 1 |
39
-
|`scrollBehavior`| The behavior of `scrollTo`. Default value is `smooth`|`smooth`|`auto`| Optional, a string to be `smooth` or `auto`|
40
+
|`scrollBehavior`| The behavior of `scrollTo`. Default value is `smooth`|`smooth`|`auto`| Optional, a string to be `smooth` or `auto`|
40
41
41
42
Example:
42
43
@@ -113,6 +114,11 @@ Example:
113
114
</template>
114
115
```
115
116
117
+
## Scroll Mode
118
+
119
+
The library uses `grid-auto-flow` CSS property to infer scroll mode. Set it to
120
+
`column` value if you want to enable horizontal scroll.
121
+
116
122
## Caveats
117
123
118
124
The library does not require items have foreknown width and height, but do
0 commit comments