Skip to content

Control sortable plugins #651

Open
Open
@philippkuehn

Description

@philippkuehn

Since there is a new plugin architecture for sortable, it would be nice to have control over these plugins (and custom plugins) with vue-draggable.

// Cherrypick extra plugins
import Sortable, { MultiDrag, Swap } from 'sortablejs';

Sortable.mount(MultiDrag, Swap);


// Cherrypick default plugins
import Sortable, { AutoScroll } from 'sortablejs/modular/sortable.core.esm.js';

Sortable.mount(AutoScroll);

It's also related to #649.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions