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 4.6.2 to 4.6.3

2

dist/gridsterDraggable.service.js

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

var _this = this;
if (e.target.classList.contains('gridster-item-resizable-handler')) {
if (e.target.hasAttribute('class') && e.target.getAttribute('class').search('gridster-item-resizable-handler') > -1) {
return;

@@ -206,0 +206,0 @@ }

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

this.gridster.gridLines.updateGrid();
if (e.target.classList.contains('handle-n')) {
if (e.target.hasAttribute('class') && e.target.getAttribute('class').search('handle-n') > -1) {
this.resizeEventScrollType.n = true;
this.directionFunction = this.handleN.bind(this);
}
else if (e.target.classList.contains('handle-w')) {
else if (e.target.hasAttribute('class') && e.target.getAttribute('class').search('handle-w') > -1) {
this.resizeEventScrollType.w = true;
this.directionFunction = this.handleW.bind(this);
}
else if (e.target.classList.contains('handle-s')) {
else if (e.target.hasAttribute('class') && e.target.getAttribute('class').search('handle-s') > -1) {
this.resizeEventScrollType.s = true;
this.directionFunction = this.handleS.bind(this);
}
else if (e.target.classList.contains('handle-e')) {
else if (e.target.hasAttribute('class') && e.target.getAttribute('class').search('handle-e') > -1) {
this.resizeEventScrollType.e = true;
this.directionFunction = this.handleE.bind(this);
}
else if (e.target.classList.contains('handle-nw')) {
else if (e.target.hasAttribute('class') && e.target.getAttribute('class').search('handle-nw') > -1) {
this.resizeEventScrollType.n = true;

@@ -100,3 +100,3 @@ this.resizeEventScrollType.w = true;

}
else if (e.target.classList.contains('handle-ne')) {
else if (e.target.hasAttribute('class') && e.target.getAttribute('class').search('handle-ne') > -1) {
this.resizeEventScrollType.n = true;

@@ -106,3 +106,3 @@ this.resizeEventScrollType.e = true;

}
else if (e.target.classList.contains('handle-sw')) {
else if (e.target.hasAttribute('class') && e.target.getAttribute('class').search('handle-sw') > -1) {
this.resizeEventScrollType.s = true;

@@ -112,3 +112,3 @@ this.resizeEventScrollType.w = true;

}
else if (e.target.classList.contains('handle-se')) {
else if (e.target.hasAttribute('class') && e.target.getAttribute('class').search('handle-se') > -1) {
this.resizeEventScrollType.s = true;

@@ -115,0 +115,0 @@ this.resizeEventScrollType.e = true;

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

}
if (target.classList && target.classList.contains(contentClass)) {
if (target.hasAttribute('class') && target.getAttribute('class').search(contentClass) > -1) {
return true;

@@ -68,0 +68,0 @@ }

{
"name": "angular-gridster2",
"version": "4.6.2",
"version": "4.6.3",
"license": "MIT",

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

@@ -12,3 +12,3 @@ angular-gridster2

### Angular 6.x library is [master branch](https://github.com/tiberiuzuld/angular-gridster2/tree/master)
### Angular 5.x library is [5.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/5.x) v4.6.1
### Angular 5.x library is [5.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/5.x) v4.6.3
### Angular 4.x library is [4.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/4.x) v3.19.0 (no longer maintained)

@@ -15,0 +15,0 @@ ### Angular 2.x library is [2.4.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/2.4.x) v2.4.20 (no longer maintained)

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