@syncfusion/ej2-lists
Advanced tools
Comparing version 17.4.40 to 17.4.41
@@ -9,2 +9,16 @@ # Changelog | ||
- Provided `items` argument support for `beforeDrop` event. | ||
### ListView | ||
#### Bug Fixes | ||
- #259827 - The issue with the `ListView component that throws script error in IE 11 browser` has been resolved. | ||
## 17.4.40 (2019-12-24) | ||
### ListBox | ||
#### Bug Fixes | ||
- Provided 'beforeDrop' event. | ||
@@ -11,0 +25,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 17.4.40 | ||
* version : 17.4.41 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-lists@*", | ||
"_id": "@syncfusion/ej2-lists@17.4.39", | ||
"_id": "@syncfusion/ej2-lists@17.4.40", | ||
"_inBundle": false, | ||
"_integrity": "sha512-YbKdtW6Lc0740beJXrkne7ayyp+f7FRd9GsRXjH0grP2gm1K9RrooAYZBtnZtOlo2ym/UQDmaGzee5TN3JtjIQ==", | ||
"_integrity": "sha512-oI2/xkTLkuHENJF2mrFucP9c/Vf3ZcSLxO3/yvckN1ApetuV1mECGlS+wA2PSGGePIeeUSj6FkQpfmNHqNIiYg==", | ||
"_location": "/@syncfusion/ej2-lists", | ||
@@ -36,4 +36,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-lists/-/ej2-lists-17.4.39.tgz", | ||
"_shasum": "247fa5572c5e9ae5d2ba9663bde52a9ca4a49053", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-lists/-/ej2-lists-17.4.40.tgz", | ||
"_shasum": "fabfe6bc2c99998985f2517a40ffb1dd25b8b490", | ||
"_spec": "@syncfusion/ej2-lists@*", | ||
@@ -46,5 +46,5 @@ "_where": "/jenkins/workspace/ation_hotfix_17.2.0.34_Vol2-DDPJ6C2YEWTWLLKKNA7AG2JBE6DYTCTNGMHGORWGAYAVCL6L7OLQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.4.39", | ||
"@syncfusion/ej2-buttons": "~17.4.39", | ||
"@syncfusion/ej2-data": "~17.4.39" | ||
"@syncfusion/ej2-base": "~17.4.41", | ||
"@syncfusion/ej2-buttons": "~17.4.41", | ||
"@syncfusion/ej2-data": "~17.4.41" | ||
}, | ||
@@ -89,4 +89,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "17.4.40", | ||
"version": "17.4.41", | ||
"sideEffects": false | ||
} |
@@ -113,3 +113,3 @@ import { Base, INotifyPropertyChanged } from '@syncfusion/ej2-base'; | ||
cancel?: boolean; | ||
handled?: boolean; | ||
items?: Object[]; | ||
} |
@@ -125,3 +125,2 @@ var __extends = (this && this.__extends) || (function () { | ||
var curIdx; | ||
var handled; | ||
prevIdx = _this.getIndex(_this.target); | ||
@@ -131,12 +130,6 @@ if (_this.isPlaceHolderPresent(dropInst)) { | ||
var args = { previousIndex: prevIdx, currentIndex: curIdx_1, target: e.target, droppedElement: _this.target, | ||
helper: e.helper, cancel: false, handled: false }; | ||
helper: e.helper, cancel: false }; | ||
_this.trigger('beforeDrop', args, function (observedArgs) { | ||
if (!observedArgs.cancel) { | ||
handled = observedArgs.handled; | ||
_this.updateItemClass(dropInst); | ||
if (observedArgs.handled) { | ||
var ele = _this.target.cloneNode(true); | ||
_this.target.classList.remove('e-grabbed'); | ||
_this.target = ele; | ||
} | ||
dropInst.element.insertBefore(_this.target, dropInst.placeHolderElement); | ||
@@ -146,3 +139,3 @@ var curIdx_2 = _this.getIndex(_this.target, dropInst); | ||
_this.trigger('drop', { event: e.event, element: dropInst.element, previousIndex: prevIdx, currentIndex: curIdx_2, | ||
target: e.target, helper: e.helper, droppedElement: _this.target, scopeName: _this.scope, handled: handled }); | ||
target: e.target, helper: e.helper, droppedElement: _this.target, scopeName: _this.scope }); | ||
} | ||
@@ -149,0 +142,0 @@ remove(dropInst.placeHolderElement); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2311816
21757