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
<p>This demo shows 20 widgets to test scroll speed behavior when dragging items. Try dragging widgets near the top or bottom of the viewport to see the scrolling effect.</p>
Copy file name to clipboardExpand all lines: doc/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ gridstack.js API
116
116
-`marginBottom`: numberOrString
117
117
-`marginLeft`: numberOrString
118
118
-`maxRow` - maximum rows amount. Default is `0` which means no max.
119
+
-`maxScrollSpeed` - (number) limits the speed that the user wll scroll up and down in the grid. This is most noticable in large grids. Default: `0` which indicates no limit on the scroll speed. Any value provided here should be positive.
119
120
-`minRow` - minimum rows amount which is handy to prevent grid from collapsing when empty. Default is `0`. You can also do this with `min-height` CSS attribute on the grid div in pixels, which will round to the closest row.
120
121
-`nonce` - If you are using a nonce-based Content Security Policy, pass your nonce here and
121
122
GridStack will add it to the `<style>` elements it creates.
0 commit comments