Topic: MDBSortable event after move

jpetersen priority asked 1 year ago


Expected behavior

Some event to handle after sorting a sortable list or some way to handle the end event emitted from MDBDraggable

MDBDraggable component event

Actual behavior

Defined here Drag and drop - API I only have access to start, end, move

Resources (screenshots, code snippets etc.)

From your documentation here Sortable Basic Example . I need access to an event once the MDBSortableItem has finished moving.

<template>
  <MDBSortable>
    <MDBSortableItem>Item 1</MDBSortableItem>
    <MDBSortableItem>Item 2</MDBSortableItem>
    <MDBSortableItem>Item 3</MDBSortableItem>
    <MDBSortableItem>Item 4</MDBSortableItem>
    <MDBSortableItem>Item 5</MDBSortableItem>
  </MDBSortable>
</template>

<script>
  import { MDBSortable, MDBSortableItem } from "mdb-vue-drag-and-drop";
  export default {
    components: {
      MDBSortable,
      MDBSortableItem
    },
  };
</script>

Mikołaj Smoleński staff commented 1 year ago

Thanks for posting this ticket. We're going to add such feature in the nearest future.

Keep coding!



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 1.13.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: Yes
  • Provided link: Yes