update gridstack.js
This commit is contained in:
parent
b9129fb43e
commit
a5e3484ed3
1 changed files with 10 additions and 0 deletions
10
gridstack.js
10
gridstack.js
|
|
@ -645,6 +645,16 @@
|
|||
return this;
|
||||
};
|
||||
|
||||
GridStack.prototype.disable = function () {
|
||||
this.movable(this.container.find('.' + this.opts.item_class), false);
|
||||
this.resizable(this.container.find('.' + this.opts.item_class), false);
|
||||
};
|
||||
|
||||
GridStack.prototype.enable = function () {
|
||||
this.movable(this.container.find('.' + this.opts.item_class), true);
|
||||
this.resizable(this.container.find('.' + this.opts.item_class), true);
|
||||
};
|
||||
|
||||
GridStack.prototype.locked = function (el, val) {
|
||||
el = $(el);
|
||||
el.each(function (index, el) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue