Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-gridster2

Package Overview
Dependencies
Maintainers
1
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-gridster2 - npm Package Compare versions

Comparing version 5.3.2 to 5.3.3

6

dist/gridster.component.js

@@ -133,3 +133,3 @@ "use strict";

var height = this.el.clientHeight;
if (this.$options.gridType === 'fit' && !this.mobile) {
if (this.$options.setGridSize || this.$options.gridType === 'fit' && !this.mobile) {
width = this.el.offsetWidth;

@@ -230,4 +230,4 @@ height = this.el.offsetHeight;

else {
this.renderer.setStyle(this.el, 'width', null);
this.renderer.setStyle(this.el, 'height', null);
this.renderer.setStyle(this.el, 'width', '');
this.renderer.setStyle(this.el, 'height', '');
}

@@ -234,0 +234,0 @@ var widgetsIndex = this.grid.length - 1, widget;

@@ -53,3 +53,3 @@ "use strict";

GridsterItemComponent.prototype.setSize = function () {
this.renderer.setStyle(this.el, 'display', this.notPlaced ? null : 'block');
this.renderer.setStyle(this.el, 'display', this.notPlaced ? '' : 'block');
this.gridster.gridRenderer.updateItem(this.el, this.$item, this.renderer);

@@ -56,0 +56,0 @@ this.updateItemSize();

@@ -19,3 +19,3 @@ "use strict";

if (!this.gridster.movingItem) {
this.renderer.setStyle(this.el, 'display', null);
this.renderer.setStyle(this.el, 'display', '');
}

@@ -22,0 +22,0 @@ else {

@@ -15,5 +15,5 @@ "use strict";

if (this.gridster.mobile) {
renderer.setStyle(el, 'transform', null);
renderer.setStyle(el, 'width', null);
renderer.setStyle(el, 'height', null);
renderer.setStyle(el, 'transform', '');
renderer.setStyle(el, 'width', '');
renderer.setStyle(el, 'height', '');
renderer.setStyle(el, 'margin-bottom', this.gridster.$options.margin + 'px');

@@ -59,3 +59,3 @@ }

var removeClass3 = '';
if (this.gridster.$options.gridType === gridsterConfig_interface_1.GridType.Fit) {
if (this.gridster.$options.setGridSize || this.gridster.$options.gridType === gridsterConfig_interface_1.GridType.Fit) {
addClass = gridsterConfig_interface_1.GridType.Fit;

@@ -62,0 +62,0 @@ removeClass1 = gridsterConfig_interface_1.GridType.ScrollVertical;

{
"name": "angular-gridster2",
"version": "5.3.2",
"version": "5.3.3",
"license": "MIT",

@@ -65,5 +65,5 @@ "main": "dist/index.js",

"@angular/router": "5.2.10",
"@types/jasmine": "2.8.6",
"@types/jasmine": "2.8.7",
"@types/jasminewd2": "2.0.3",
"@types/node": "9.6.6",
"@types/node": "9.6.11",
"angular-cli-ghpages": "0.5.2",

@@ -81,3 +81,3 @@ "codelyzer": "4.3.0",

"karma-coverage-istanbul-reporter": "1.4.2",
"karma-jasmine": "1.1.1",
"karma-jasmine": "1.1.2",
"karma-jasmine-html-reporter": "1.0.0",

@@ -87,3 +87,3 @@ "ngx-markdown": "1.5.2",

"rxjs": "5.5.10",
"ts-node": "6.0.1",
"ts-node": "6.0.2",
"tslint": "5.9.1",

@@ -90,0 +90,0 @@ "typescript": "2.6.2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc