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: doc/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -90,12 +90,12 @@ gridstack.js API
90
90
-`verticalMargin` - vertical gap size (default: `20`). Can be:
91
91
- an integer (px)
92
92
- a string (ex: '2em', '20px', '2rem')
93
-
-`width` - amount of columns (default: `12`)
93
+
-`width` - amount of columns (default: `12`). Setting non-default value must be supported by equivalent change in CSS, [see docs here](https://github.com/troolee/gridstack.js#change-grid-width).
94
94
95
95
## Grid attributes
96
96
97
97
-`data-gs-animate` - turns animation on
98
-
-`data-gs-width` - amount of columns
98
+
-`data-gs-width` - amount of columns. Setting non-default value must be supported by equivalent change in CSS, [see docs here](https://github.com/troolee/gridstack.js#change-grid-width).
99
99
-`data-gs-height` - maximum rows amount. Default is `0` which means no maximum rows.
100
100
-`data-gs-current-height` - current rows amount. Set by the library only. Can be used by the CSS rules.
0 commit comments