Releases: mfuu/vue-virtual-drag-list
Releases · mfuu/vue-virtual-drag-list
v2.8.5
Changes
-
The following props will be removed from the current version onwards:
headerTag
footerTag
headerStyle
footerStyleThe
header
andfooter
slots are still retained, now are fully customizable. Please adjust it by yourself. -
Added props:
lockAxis: 'x' | 'y', // Axis on which dragging will be locked
-
The types of these props have changed:
scroller: Document | HTMLElement, // Window not supported now
v2.8.4
v2.8.3
v2.8.1
Changes
PRs
- add two style props + add DIRECTION.STATIONARY when scroll from other axis by @m4m205 in #21
clone
support, bug fixed by @mfuu in #28
Update
-
support clone mode, usage:
group: { pull: 'clone' }
-
props changed
delay
=>debounceTime
,throttleTime
pressDelay
=>delay
pressDelayOnTouchOnly
=>delayOnTouchOnly
-
props deleted
pageMode
: now replaced byscroller: window
orscroller: document
-
props added
scroller
: Virtual list scrolling elementdebounceTime
: debounce time on scrollthrottleTime
: throttle time on scroll
-
emit added
scrollToKey(key)
: Scroll to the specified data-key position
-
adjusted the callback function's params
v2.7.4
Changes
- fix: #15 (comment) #13 (comment)
- Added prop:
pageMode
#12 (comment) v-model
support
v2.7.3
v2.7.2
v2.7.1
Changes
-
fix: rendering error on scroll load
-
group support, now you can drag-drop an item between different lists. #9 (comment)
-
Add some usefull props
handle
: Only drags can be made on the element specified by handle.group
: Set group value to allow drag between different lists.
-
It should be noted that some emit's name changed, get all parameters by destructuring:
ondragstart
=>drag
ondragend
=>drop
totop
=>top
tobottom
=>bottom
-
added emits:
add
: Will be triggered when dragging from another list to the current.remove
: Will be triggered when dragging from the current list into another.
-
prop usage changes
draggable
: It is only supported to set dragged elements, you do not need to set this property, the list can also be dragged.
v2.6.17
Full Changelog: v2.6.15...v2.6.17