Skip to content

Programmatic Sortable Plugin #1716

Open
@waynevanson

Description

@waynevanson

In react-sortablejs, users are looking for programmatic use of this plugin so they can command Sortable to move items.

This sounds great and I'm not sure if this is possible using a plugin with the current architecture, as many events rely on interactions between mouse events in the DOM.

example:

Sortable.move(from: HTMLElement, to: HTMLElement, options)

Maybe possible with custom option callback handlers for users to input and then using Sortable.utils to do the animation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Plugin IdeaA good idea for a plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions