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
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,9 +69,9 @@ gridstack.js API
69
69
-`auto` - if `false` gridstack will not initialize existing items (default: `true`)
70
70
-`cellHeight` - one cell height (default: `60`). Can be:
71
71
* an integer (px)
72
-
* a string (ex: '10em', '100px', '10rem')
72
+
* a string (ex: '100px', '10em', '10rem', '10%')
73
73
* 0 or null, in which case the library will not generate styles for rows. Everything must be defined in CSS files.
74
-
*`'auto'` - height will be calculated from cell width.
74
+
*`'auto'` - height will be calculated to match cell width (initial square grid).
75
75
-`column` - amount of columns (default: `12`)
76
76
-`ddPlugin` - class that implement drag'n'drop functionallity for gridstack. If `false` grid will be static. (default: `null` - first available plugin will be used)
77
77
-`disableDrag` - disallows dragging of widgets (default: `false`).
0 commit comments