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
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,9 @@ Change log
33
33
34
34
## 1.0.0-dev (upcoming)
35
35
36
-
-- fix [(1166)](https://github.com/gridstack/gridstack.js/issues/1166) resize not taking margin height into account
36
+
- fix [(1166)](https://github.com/gridstack/gridstack.js/issues/1166) resize not taking margin height into account
37
+
- fix [(1155)](https://github.com/gridstack/gridstack.js/issues/1155)`maxRow` now limit initial item placement if out of bound, preventing broken drag behavior
38
+
- fix [(1171)](https://github.com/gridstack/gridstack.js/issues/1171) added event support to call `grid.on('added removed change', callback)` again even with native events.
Copy file name to clipboardExpand all lines: doc/README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,8 +123,11 @@ to completely lock the widget.
123
123
124
124
## Events
125
125
126
-
Those are the events set by the grid when items are added/removed or changed - they use standard JS calls with a CustomElement that stores the list
127
-
of nodes that changed (id, x, y, width, height, etc...)
126
+
Those are the events set by the grid when items are added/removed or changed - they use standard JS calls with a CustomElement `detail` that stores the list
127
+
of nodes that changed (id, x, y, width, height, etc...).
128
+
129
+
You can call it on a single event name, or space separated list:
0 commit comments