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
- add `GridStack.setupDragIn()` so user can update external draggable after the grid has been created [1637](https://github.com/gridstack/gridstack.js/issues/1637)
-[willItFit(x, y, width, height, autoPosition)](#willitfitx-y-width-height-autoposition)
57
58
-[Utils](#utils)
@@ -86,8 +87,12 @@ gridstack.js API
86
87
-`disableDrag` - disallows dragging of widgets (default: `false`).
87
88
-`disableOneColumnMode` - disables the onColumnMode when the grid width is less than minW (default: 'false')
88
89
-`disableResize` - disallows resizing of widgets (default: `false`).
89
-
-`dragIn` - specify the class of items that can be dragged into the grid (ex: dragIn: '.newWidget'
90
-
-`dragInOptions` - options for items that can be dragged into the grid (ex: dragInOptions: { revert: 'invalid', scroll: false, appendTo: 'body', helper: 'clone' }
90
+
-`dragIn` - specify the class of items that can be dragged into grids
91
+
* example: `dragIn: '.newWidget'`.
92
+
***Note**: if you have multiple grids, it's best to call `GridStack.setupDragIn()` with same params as it only need to be done once.
93
+
-`dragInOptions` - options for items that can be dragged into grids
0 commit comments