Comparing version 4.0.1 to 4.0.2
{ | ||
"name": "ng2-dnd", | ||
"description": "Angular 2 Drag-and-Drop without dependencies", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"scripts": { | ||
@@ -81,2 +81,2 @@ "test": "karma start", | ||
} | ||
} | ||
} |
@@ -685,4 +685,5 @@ # Angular 2 Drag-and-Drop [![npm version](https://badge.fury.io/js/ng2-dnd.svg)](https://badge.fury.io/js/ng2-dnd) [![npm monthly downloads](https://img.shields.io/npm/dm/ng2-dnd.svg?style=flat-square)](https://www.npmjs.com/package/ng2-dnd) | ||
- [Valerii Kuznetsov](https://github.com/solival) | ||
- [Shane Oborn](https://github.com/obosha) | ||
# License | ||
[MIT](/LICENSE) |
@@ -25,3 +25,6 @@ // Copyright (C) 2016 Sergey Akopkokhyants | ||
this.cloneItem = false; | ||
// Assign default cursor unless overridden | ||
this._defaultCursor = _config.defaultCursor; | ||
this._elem = elemRef.nativeElement; | ||
this._elem.style.cursor = this._defaultCursor; // set default cursor on our element | ||
// | ||
@@ -28,0 +31,0 @@ // DROP events |
@@ -24,2 +24,3 @@ export declare class DataTransferEffect { | ||
dragImage: DragImage; | ||
defaultCursor: string; | ||
} |
@@ -40,4 +40,5 @@ // Copyright (C) 2016 Sergey Akopkokhyants | ||
this.dragCursor = "move"; | ||
this.defaultCursor = "pointer"; | ||
} | ||
return DragDropConfig; | ||
}()); |
Sorry, the diff of this file is too big to display
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
414031
41
2863
689