Searched refs:newDragIndex (Results 1 – 1 of 1) sorted by relevance
1255 var newDragIndex = this.getWouldBeIndexForPoint_(e.pageX, e.pageY);1256 if (newDragIndex < 0 || newDragIndex >= this.tileElements_.length)1257 newDragIndex = this.dragItemIndex_;1258 this.updateDropIndicator_(newDragIndex);1337 updateDropIndicator_: function(newDragIndex) { argument1339 if (newDragIndex == oldDragIndex)1342 var repositionStart = Math.min(newDragIndex, oldDragIndex);1343 var repositionEnd = Math.max(newDragIndex, oldDragIndex);1349 var adjustment = i <= newDragIndex ? -1 : 0;1351 var adjustment = i >= newDragIndex ? 1 : 0;[all …]