angular-gridster2
Advanced tools
Comparing version 3.16.2 to 3.16.3
@@ -138,2 +138,11 @@ "use strict"; | ||
GridsterComponent.prototype.setGridDimensions = function () { | ||
this.setGridSize(); | ||
if (!this.mobile && this.$options.mobileBreakpoint > this.curWidth) { | ||
this.mobile = !this.mobile; | ||
this.renderer.addClass(this.el, 'mobile'); | ||
} | ||
else if (this.mobile && this.$options.mobileBreakpoint < this.curWidth) { | ||
this.mobile = !this.mobile; | ||
this.renderer.removeClass(this.el, 'mobile'); | ||
} | ||
var rows = this.$options.minRows, columns = this.$options.minCols; | ||
@@ -210,10 +219,2 @@ var widgetsIndex = this.grid.length - 1; | ||
this.renderer.removeClass(this.el, removeClass3); | ||
if (!this.mobile && this.$options.mobileBreakpoint > this.curWidth) { | ||
this.mobile = !this.mobile; | ||
this.renderer.addClass(this.el, 'mobile'); | ||
} | ||
else if (this.mobile && this.$options.mobileBreakpoint < this.curWidth) { | ||
this.mobile = !this.mobile; | ||
this.renderer.removeClass(this.el, 'mobile'); | ||
} | ||
this.gridLines.updateGrid(); | ||
@@ -385,2 +386,2 @@ var widgetsIndex = this.grid.length - 1, widget; | ||
exports.GridsterComponent = GridsterComponent; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy50bXAvZ3JpZHN0ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0NBU3VCO0FBRXZCLHFFQUFnRTtBQUVoRSxpRUFBc0Q7QUFHdEQseUVBQThEO0FBQzlELHFFQUEwRDtBQUsxRDtJQTRCRSwyQkFBWSxFQUFjLEVBQVMsUUFBbUIsRUFBUyxLQUF3QjtRQUFwRCxhQUFRLEdBQVIsUUFBUSxDQUFXO1FBQVMsVUFBSyxHQUFMLEtBQUssQ0FBbUI7UUFDckYsSUFBSSxDQUFDLEVBQUUsR0FBRyxFQUFFLENBQUMsYUFBYSxDQUFDO1FBQzNCLElBQUks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G87ICAgb3ZlcmZsb3cteTogaGlkZGVuOyB9ICA6aG9zdCguZml4ZWQpIHsgICBvdmVyZmxvdzogYXV0bzsgfSAgOmhvc3QoLm1vYmlsZSkgeyAgIG92ZXJmbG93LXg6IGhpZGRlbjsgICBvdmVyZmxvdy15OiBhdXRvOyAgIGRpc3BsYXk6IGJsb2NrOyB9ICA6aG9zdCgubW9iaWxlKSA6Om5nLWRlZXAgZ3JpZHN0ZXItaXRlbSB7ICAgcG9zaXRpb246IHJlbGF0aXZlOyB9YF1cbn0sIF0gfSxcbl07XG4vKiogQG5vY29sbGFwc2UgKi9cbnN0YXRpYyBjdG9yUGFyYW1ldGVyczogKCkgPT4gKHt0eXBlOiBhbnksIGRlY29yYXRvcnM/OiBEZWNvcmF0b3JJbnZvY2F0aW9uW119fG51bGwpW10gPSAoKSA9PiBbXG57dHlwZTogRWxlbWVudFJlZiwgfSxcbnt0eXBlOiBSZW5kZXJlcjIsIH0sXG57dHlwZTogQ2hhbmdlRGV0ZWN0b3JSZWYsIH0sXG5dO1xuc3RhdGljIHByb3BEZWNvcmF0b3JzOiB7W2tleTogc3RyaW5nXTogRGVjb3JhdG9ySW52b2NhdGlvbltdfSA9IHtcbidvcHRpb25zJzogW3sgdHlwZTogSW5wdXQgfSxdLFxufTtcbn1cblxuaW50ZXJmYWNlIERlY29yYXRvckludm9jYXRpb24ge1xuICB0eXBlOiBGdW5jdGlvbjtcbiAgYXJncz86IGFueVtdO1xufVxuIl19 |
{ | ||
"name": "angular-gridster2", | ||
"version": "3.16.2", | ||
"version": "3.16.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
461641
2906