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 2.4.16 to 2.4.17

1

dist/gridsterDraggable.service.d.ts

@@ -31,2 +31,3 @@ import { GridsterSwap } from './gridsterSwap.service';

mouseup: Function;
cancelOnBlur: Function;
touchmove: Function;

@@ -33,0 +34,0 @@ touchend: Function;

@@ -48,2 +48,3 @@ "use strict";

this.mouseup = this.gridsterItem.renderer.listenGlobal('document', 'mouseup', this.dragStopFunction);
this.cancelOnBlur = this.gridsterItem.renderer.listenGlobal('window', 'blur', this.dragStopFunction);
this.touchmove = this.gridster.renderer.listen(this.gridster.el, 'touchmove', this.dragFunction);

@@ -91,2 +92,3 @@ this.touchend = this.gridsterItem.renderer.listenGlobal('document', 'touchend', this.dragStopFunction);

gridsterScroll_service_1.cancelScroll();
this.cancelOnBlur();
this.mousemove();

@@ -189,3 +191,2 @@ this.mouseup();

var _this = this;
gridsterUtils_service_1.GridsterUtils.checkTouchEvent(e);
if (e.target.classList.contains('gridster-item-resizable-handler')) {

@@ -197,2 +198,3 @@ return;

}
gridsterUtils_service_1.GridsterUtils.checkTouchEvent(e);
if (!this.gridster.$options.draggable.delayStart) {

@@ -207,2 +209,3 @@ this.dragStart(e);

var cancelMouse = this.gridsterItem.renderer.listenGlobal('document', 'mouseup', cancelDrag);
var cancelOnBlur = this.gridsterItem.renderer.listenGlobal('window', 'blur', cancelDrag);
var cancelTouchMove = this.gridsterItem.renderer.listenGlobal('document', 'touchmove', cancelMove);

@@ -219,2 +222,3 @@ var cancelTouchEnd = this.gridsterItem.renderer.listenGlobal('document', 'touchend', cancelDrag);

clearTimeout(timeout);
cancelOnBlur();
cancelMouse();

@@ -221,0 +225,0 @@ cancelTouchMove();

@@ -21,2 +21,3 @@ import { GridsterItemComponent } from './gridsterItem.component';

mouseup: Function;
cancelOnBlur: Function;
touchmove: Function;

@@ -23,0 +24,0 @@ touchend: Function;

5

dist/gridsterResizable.service.js

@@ -49,2 +49,3 @@ "use strict";

this.mouseup = this.gridsterItem.renderer.listenGlobal('document', 'mouseup', this.dragStopFunction);
this.cancelOnBlur = this.gridsterItem.renderer.listenGlobal('window', 'blur', this.dragStopFunction);
this.touchmove = this.gridster.renderer.listen(this.gridster.el, 'touchmove', this.dragFunction);

@@ -134,2 +135,3 @@ this.touchend = this.gridsterItem.renderer.listenGlobal('document', 'touchend', this.dragStopFunction);

this.mouseup();
this.cancelOnBlur();
this.touchmove();

@@ -314,4 +316,4 @@ this.touchend();

}, this.gridster.$options.resizable.delayStart);
gridsterUtils_service_1.GridsterUtils.checkTouchEvent(e);
var cancelMouse = this.gridsterItem.renderer.listenGlobal('document', 'mouseup', cancelDrag);
var cancelOnBlur = this.gridsterItem.renderer.listen('window', 'blur', cancelDrag);
var cancelTouchMove = this.gridsterItem.renderer.listenGlobal('document', 'touchmove', cancelMove);

@@ -328,2 +330,3 @@ var cancelTouchEnd = this.gridsterItem.renderer.listenGlobal('document', 'touchend', cancelDrag);

clearTimeout(timeout);
cancelOnBlur();
cancelMouse();

@@ -330,0 +333,0 @@ cancelTouchMove();

{
"name": "angular-gridster2",
"version": "2.4.16",
"version": "2.4.17",
"license": "MIT",

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

@@ -11,3 +11,4 @@ angular-gridster2

### Angular 4.x library is [master branch](https://github.com/tiberiuzuld/angular-gridster2/tree/master)
### Angular 5.x library is [master branch](https://github.com/tiberiuzuld/angular-gridster2/tree/master)
### Angular 4.x library is [4.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/4.x)
### Angular 2.x library is [2.4.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/2.4.x)

@@ -14,0 +15,0 @@ ### AngularJS >=1.5.x library is [1.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/1.x)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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