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
* save() will now work recursively saving nested grids
options and children.
* save() can now be used to save the current grind full options + children
so you can call static addWidget()
to re-create everything
* destroy() now clears memory usage (fix circular dep)
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,10 @@ Change log
44
44
45
45
## 3.3.0-dev
46
46
47
-
- add new `addGrid(parent, opts)` to create a grid and load children, which is used by `load()` to supports nested grids creation. see [nested.html](https://github.com/gridstack/gridstack.js/blob/develop/demo/nested.html) demo.
47
+
- add new `addGrid(parent, opts)` to create a grid and load children instead of `init() + load()`, which is used by `load()` to supports nested grids creation.
48
+
see [nested.html](https://github.com/gridstack/gridstack.js/blob/develop/demo/nested.html) demo.
49
+
-`save()` will now work on nested grids, recursively saving info. added flag to also allow saving the current grid options + children
50
+
(needed for nested grids) so you can now call new `adddGrid()` to re-create everything from JSON.
create a grid under given parent, with given options and loading children recursively (for nested grids), instead of `init() + load()`. Used by `load()` to supports nested grids creation.
256
+
see [nested.html](https://github.com/gridstack/gridstack.js/blob/develop/demo/nested.html) demo
0 commit comments