Skip to content

Commit c31375e

Browse files
committed
feat: tableMode support
1 parent 5fedb30 commit c31375e

File tree

8 files changed

+363
-339
lines changed

8 files changed

+363
-339
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)