@@ -59,15 +59,13 @@ export default {
5959
6060## Emits
6161
62- | ** Emit** | ** Description** |
63- | ------------- | --------------------------------------------- |
64- | ` top ` | scrolled to top |
65- | ` bottom ` | scrolled to bottom |
66- | ` drag ` | drag is started |
67- | ` drop ` | drag is completed |
68- | ` add ` | element is dropped into the list from another |
69- | ` remove ` | element is removed from the list into another |
70- | ` rangeChange ` | triggered when the range changes |
62+ | ** Emit** | ** Description** |
63+ | ------------- | ------------------ |
64+ | ` top ` | scrolled to top |
65+ | ` bottom ` | scrolled to bottom |
66+ | ` drag ` | drag is started |
67+ | ` drop ` | drag is completed |
68+ | ` rangeChange ` | range changeed |
7169
7270## Props
7371
@@ -101,6 +99,7 @@ export default {
10199| ------------------ | --------- | ------------------------ | ------------------------------------------------------------ |
102100| ` sortable ` | ` Boolean ` | ` true ` | Whether the current list can be sorted by dragging |
103101| ` draggable ` | ` String ` | ` .virtual-dnd-list-item ` | Specifies which items inside the element should be draggable |
102+ | ` itemClass ` | ` String ` | ` virtual-dnd-list-item ` | Default list item class |
104103| ` disabled ` | ` Boolean ` | ` false ` | Disables the sortable if set to true |
105104| ` animation ` | ` Number ` | ` 150 ` | Animation speed moving items when sorting |
106105| ` autoScroll ` | ` Boolean ` | ` true ` | Automatic scrolling when moving to the edge of the container |
0 commit comments