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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,10 +64,10 @@ gridstack.js API
64
64
-`animate` - turns animation on (default: `false`)
65
65
-`auto` - if `false` gridstack will not initialize existing items (default: `true`)
66
66
-`cellHeight` - one cell height (default: `60`). Can be:
67
-
- an integer (px)
68
-
- a string (ex: '10em', '100px', '10rem')
69
-
- 0 or null, in which case the library will not generate styles for rows. Everything must be defined in CSS files.
70
-
-`'auto'` - height will be calculated from cell width.
67
+
* an integer (px)
68
+
* a string (ex: '10em', '100px', '10rem')
69
+
* 0 or null, in which case the library will not generate styles for rows. Everything must be defined in CSS files.
70
+
*`'auto'` - height will be calculated from cell width.
71
71
-`ddPlugin` - class that implement drag'n'drop functionallity for gridstack. If `false` grid will be static. (default: `null` - first available plugin will be used)
72
72
-`disableDrag` - disallows dragging of widgets (default: `false`).
73
73
-`disableResize` - disallows resizing of widgets (default: `false`).
@@ -88,8 +88,8 @@ gridstack.js API
88
88
-`rtl` - if `true` turns grid to RTL. Possible values are `true`, `false`, `'auto'` (default: `'auto'`) See [example](http://troolee.github.io/gridstack.js/demo/rtl.html)
89
89
-`staticGrid` - makes grid static (default `false`). If true widgets are not movable/resizable. You don't even need jQueryUI draggable/resizable. A CSS class `grid-stack-static` is also added to the container.
90
90
-`verticalMargin` - vertical gap size (default: `20`). Can be:
0 commit comments