rebuild dist
This commit is contained in:
parent
b3d5be137c
commit
aa18c6332e
7
dist/gridstack.js
vendored
7
dist/gridstack.js
vendored
|
@ -1538,10 +1538,13 @@
|
||||||
this.grid.commit();
|
this.grid.commit();
|
||||||
};
|
};
|
||||||
|
|
||||||
GridStack.prototype.setGridWidth = function(gridWidth) {
|
GridStack.prototype.setGridWidth = function(gridWidth,doNotPropagate) {
|
||||||
this.container.removeClass('grid-stack-' + this.opts.width);
|
this.container.removeClass('grid-stack-' + this.opts.width);
|
||||||
this._updateNodeWidths(this.opts.width, gridWidth);
|
if (doNotPropagate !== true) {
|
||||||
|
this._updateNodeWidths(this.opts.width, gridWidth);
|
||||||
|
}
|
||||||
this.opts.width = gridWidth;
|
this.opts.width = gridWidth;
|
||||||
|
this.grid.width = gridWidth;
|
||||||
this.container.addClass('grid-stack-' + gridWidth);
|
this.container.addClass('grid-stack-' + gridWidth);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
2
dist/gridstack.min.js
vendored
2
dist/gridstack.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/gridstack.min.map
vendored
2
dist/gridstack.min.map
vendored
File diff suppressed because one or more lines are too long
|
@ -45,7 +45,7 @@ gridstack.js API
|
||||||
- [resize(el, width, height)](#resizeel-width-height)
|
- [resize(el, width, height)](#resizeel-width-height)
|
||||||
- [resizable(el, val)](#resizableel-val)
|
- [resizable(el, val)](#resizableel-val)
|
||||||
- [setAnimation(doAnimate)](#setanimationdoanimate)
|
- [setAnimation(doAnimate)](#setanimationdoanimate)
|
||||||
- [setGridWidth(gridWidth)](#setgridwidthgridwidth)
|
- [setGridWidth(gridWidth, doNotPropagate)](#setgridwidthgridwidth-donotpropagate)
|
||||||
- [setStatic(staticValue)](#setstaticstaticvalue)
|
- [setStatic(staticValue)](#setstaticstaticvalue)
|
||||||
- [update(el, x, y, width, height)](#updateel-x-y-width-height)
|
- [update(el, x, y, width, height)](#updateel-x-y-width-height)
|
||||||
- [willItFit(x, y, width, height, autoPosition)](#willitfitx-y-width-height-autoposition)
|
- [willItFit(x, y, width, height, autoPosition)](#willitfitx-y-width-height-autoposition)
|
||||||
|
|
Loading…
Reference in a new issue