angular-sortablejs
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "angular-sortablejs", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "SortableJS for Angular 2+", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,3 +40,3 @@ "use strict"; | ||
}); | ||
SortablejsDirective.prototype.proxyEvent = function (eventName) { | ||
SortablejsDirective.prototype.proxyEvent = function (eventName, event) { | ||
if (this._options && this._options[eventName]) { | ||
@@ -60,3 +60,3 @@ this._options[eventName](event); | ||
}; | ||
_this.proxyEvent('onAdd'); | ||
_this.proxyEvent('onAdd', event); | ||
}, | ||
@@ -74,3 +74,3 @@ onRemove: function (event) { | ||
onremove = null; | ||
_this.proxyEvent('onRemove'); | ||
_this.proxyEvent('onRemove', event); | ||
}, | ||
@@ -86,3 +86,3 @@ onUpdate: function (event) { | ||
} | ||
_this.proxyEvent('onUpdate'); | ||
_this.proxyEvent('onUpdate', event); | ||
} | ||
@@ -89,0 +89,0 @@ }; |
Sorry, the diff of this file is not supported yet
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
19302