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
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,14 @@ The exact viewport of the calendar. When these are specified, scrolling in the c
140
140
141
141
**Note that you need to provide either `defaultTimeStart/End` or `visibleTimeStart/End` for the timeline to function**
142
142
143
+
## buffer
144
+
145
+
a number (default to 3) which represents the extra timeline rendered on right and lift of the visible area which the user will scroll through before the time rerenders.
146
+
147
+
more explication in section [behind the scenes](#behind-the-scenes)
148
+
149
+
Note: setting buffer to 1 will disable the scrolling on the timeline
150
+
143
151
## selected
144
152
145
153
An array with id's corresponding to id's in items (`item.id`). If this prop is set you have to manage the selected items yourself within the `onItemSelect` handler to update the property with new id's and use `onItemDeselect` handler to clear selection. This overwrites the default behaviour of selecting one item on click.
@@ -1236,6 +1244,8 @@ This results in a visually endless scrolling canvas with optimal performance.
1236
1244
1237
1245
Extensibility and usability: While some parameters (`onTimeChange`, `moveResizeValidator`) might be hard to configure, these are design decisions to make it as extensible as possible. If you have recipes for common tasks regarding those parameters, send a PR to add them to this doc.
1238
1246
1247
+
Note: 3x can be controlled by changing the buffer
1248
+
1239
1249
## Interaction
1240
1250
1241
1251
To interact and navigate within the timeline there are the following options for the user:
0 commit comments