angular-gridster2
Advanced tools
Comparing version 3.16.1 to 3.16.2
@@ -184,4 +184,4 @@ "use strict"; | ||
else if (this.$options.gridType === 'fixed') { | ||
this.curColWidth = this.$options.fixedColWidth; | ||
this.curRowHeight = this.$options.fixedRowHeight; | ||
this.curColWidth = this.$options.fixedColWidth + this.$options.margin; | ||
this.curRowHeight = this.$options.fixedRowHeight + this.$options.margin; | ||
addClass = 'fixed'; | ||
@@ -193,3 +193,3 @@ removeClass1 = 'fit'; | ||
else if (this.$options.gridType === 'verticalFixed') { | ||
this.curRowHeight = this.$options.fixedRowHeight; | ||
this.curRowHeight = this.$options.fixedRowHeight + this.$options.margin; | ||
addClass = 'scrollVertical'; | ||
@@ -201,3 +201,3 @@ removeClass1 = 'fit'; | ||
else if (this.$options.gridType === 'horizontalFixed') { | ||
this.curColWidth = this.$options.fixedColWidth; | ||
this.curColWidth = this.$options.fixedColWidth + this.$options.margin; | ||
addClass = 'scrollHorizontal'; | ||
@@ -386,2 +386,2 @@ removeClass1 = 'fit'; | ||
exports.GridsterComponent = GridsterComponent; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy50bXAvZ3JpZHN0ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0NBU3VCO0FBRXZCLHFFQUFnRTtBQUVoRSxpRUFBc0Q7QUFHdEQseUVBQThEO0FBQzlELHFFQUEwRDtBQUsxRDtJQTRCRSwyQkFBWSxFQUFjLEVBQVMsUUFBbUIsRUFBUyxLQUF3QjtRQUFwRCxhQUFRLEdBQVIsUUFBUSxDQUFXO1FBQVMsVUFBSyxHQUFMLEtBQUssQ0FBbUI7UUFDckYsSUFBSSxDQUFDLEVBQUUsR0FBRyxFQUFFLENBQUMsYUFBYSxDQUFDO1FBQzNCLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUM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b3JhdG9ySW52b2NhdGlvbltdfXxudWxsKVtdID0gKCkgPT4gW1xue3R5cGU6IEVsZW1lbnRSZWYsIH0sXG57dHlwZTogUmVuZGVyZXIyLCB9LFxue3R5cGU6IENoYW5nZURldGVjdG9yUmVmLCB9LFxuXTtcbnN0YXRpYyBwcm9wRGVjb3JhdG9yczoge1trZXk6IHN0cmluZ106IERlY29yYXRvckludm9jYXRpb25bXX0gPSB7XG4nb3B0aW9ucyc6IFt7IHR5cGU6IElucHV0IH0sXSxcbn07XG59XG5cbmludGVyZmFjZSBEZWNvcmF0b3JJbnZvY2F0aW9uIHtcbiAgdHlwZTogRnVuY3Rpb247XG4gIGFyZ3M/OiBhbnlbXTtcbn1cbiJdfQ== |
@@ -207,3 +207,2 @@ "use strict"; | ||
function cancelDrag() { | ||
console.log(arguments); | ||
clearTimeout(timeout); | ||
@@ -228,2 +227,2 @@ cancelOnBlur(); | ||
exports.GridsterDraggable = GridsterDraggable; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy50bXAvZ3JpZHN0ZXJEcmFnZ2FibGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHNDQUF5QztBQUV6QywrREFBb0Q7QUFDcEQsbUVBQThEO0FBQzlELG1FQUErRDtBQUMvRCwyREFBdUQ7QUFDdkQsK0RBQW9EO0FBQ3BELGlFQUFzRDtBQUd0RDtJQW9DRSwyQkFBWSxZQUFtQyxFQUFFLFFBQTJCO1FBQzFFLElBQUksQ0FBQyxZQUFZLEdBQUcsWUFBWSxDQUFDO1FBQ2pDLElBQUksQ0FBQyxRQUFRLEdBQUcsUUFBUSxDQUFDO1FBQ3pCLElBQUksQ0FBQyxTQUFTLEdBQUc7WUFDZixPQUFPLEVBQUUsQ0FBQztZQUNWLE9BQU8sRUFBRSxDQUFDO1NBQ1gsQ0FBQztRQUNGLElBQUksQ0FBQyxJQUFJLEdBQUcs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iBHcmlkc3RlckNvbXBvbmVudCwgfSxcbl07XG59XG5cbmludGVyZmFjZSBEZWNvcmF0b3JJbnZvY2F0aW9uIHtcbiAgdHlwZTogRnVuY3Rpb247XG4gIGFyZ3M/OiBhbnlbXTtcbn1cbiJdfQ== |
{ | ||
"name": "angular-gridster2", | ||
"version": "3.16.1", | ||
"version": "3.16.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -18,3 +18,3 @@ angular-gridster2 | ||
``npm install angular-gridster2 --save`` | ||
``npm install angular-gridster2@3.x --save`` | ||
@@ -21,0 +21,0 @@ Should work out of the box with webpack, respectively angular-cli. |
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
461540
2905