Skip to content

How to get the related target list in onMove handlers #263

@jadell

Description

@jadell

I'm having an issue moving items between two lists. I want to use the onMove handler to prevent moving in specific cases that depend on the existing contents of the target list.

I am migrating away from vue-draggable where this was handled via a relatedContext property on the event passed into the handler. This allowed getting the existing list/model-value for the target draggable.

I don't see anything similar on the event in this library.

Is there a way to get the model-value for the target?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions