Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60c2f0a commit a52ae7aCopy full SHA for a52ae7a
1 file changed
src/gridstack.js
@@ -439,6 +439,14 @@
439
this._update_container_height();
440
};
441
442
+ GridStack.prototype.remove_all = function () {
443
+ _.each(this.grid.nodes, function (node) {
444
+ node.el.remove();
445
+ });
446
+ this.grid.nodes = [];
447
+ this._update_container_height();
448
+ };
449
+
450
GridStack.prototype.resizable = function (el, val) {
451
el = $(el);
452
el.each(function (index, el) {
0 commit comments