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/CHANGES.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
@@ -88,6 +88,7 @@ Change log
88
88
* feat: [#2275](https://github.com/gridstack/gridstack.js/issues/2275)`setupDragIn()` now can take an array or elements (in addition to selector string) and optional parent root (for shadow DOM support)
89
89
* fix: [#2234](https://github.com/gridstack/gridstack.js/issues/2234)`Utils.getElements('1')` (called by removeWidget() and others) now checks for digit 'selector' (becomes an id).
90
90
* fix: [#2213](https://github.com/gridstack/gridstack.js/issues/2213)`destroy()` now removes event handlers too
91
+
* break: (meant to be in v8) removed `GridStackOptions.dragInOptions` since `setupDragIn()`has it replaced since 4.0
91
92
92
93
## 8.0.0 (2023-04-29)
93
94
* package is now ES2020 (TS exported files), webpack all.js still umd (better than commonjs for browsers), still have es5/ files unchanged (for now)
Copy file name to clipboardExpand all lines: doc/README.md
+3-10Lines changed: 3 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,13 +96,6 @@ gridstack.js API
96
96
-`disableDrag` - disallows dragging of widgets (default: `false`).
97
97
-`disableOneColumnMode` - Prevents the grid container from being displayed in "one column mode", even when the container's width is smaller than the value of oneColumnSize (default value of oneColumnSize is 768px). By default, this option is set to "false".
98
98
-`disableResize` - disallows resizing of widgets (default: `false`).
99
-
-`dragIn` - specify the class of items that can be dragged into grids
100
-
* example: `dragIn: '.newWidget'`.
101
-
***Note**: if you have multiple grids, it's best to call `GridStack.setupDragIn()` with same params as it only need to be done once.
102
-
-`dragInOptions` - options for items that can be dragged into grids - see `DDDragInOpt`
* call to setup dragging in from the outside (say toolbar), by specifying the class selection and options.
336
329
Called during `GridStack.init()` as options, but can also be called directly (last param are cached) in case the toolbar is dynamically create and needs to change later.
0 commit comments