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

angular-sortablejs

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-sortablejs - npm Package Compare versions

Comparing version 2.4.1 to 2.5.0

1

dist/src/sortablejs-options.d.ts

@@ -35,2 +35,3 @@ export interface SortablejsOptions {

onAdd?: (event: any) => any;
onAddOriginal?: (event: any) => any;
onUpdate?: (event: any) => any;

@@ -37,0 +38,0 @@ onSort?: (event: any) => any;

4

dist/src/sortablejs.directive.js

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

_this.getBindings().injectIntoEvery(event.newIndex, items);
_this.detectChanges();
_this.proxyEvent('onAdd', event);
};
_this.proxyEvent('onAdd', event);
_this.proxyEvent('onAddOriginal', event);
},

@@ -116,0 +116,0 @@ onRemove: function (event) {

{
"name": "angular-sortablejs",
"version": "2.4.1",
"version": "2.5.0",
"description": "SortableJS for Angular",

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

@@ -223,2 +223,4 @@ # angular-sortablejs

Important: the original `onAdd` event happens before the `onRemove` event because the original library makes it like that. We change this behavior and call 'onAdd' after the 'onRemove'. If you want to work with original onAdd event you can use `onAddOriginal` which happens before `onRemove`.
## SystemJS configuration

@@ -225,0 +227,0 @@

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