How to use the sortablejs/modular/sortable.core.esm.mount function in sortablejs

To help you get started, we’ve selected a few sortablejs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github honestbleeps / Reddit-Enhancement-Suite / lib / vendor / index.js View on Github external
/* @flow */

// Import only the functionality of sortablejs which is needed
import Sortable, { AutoScroll } from 'sortablejs/modular/sortable.core.esm';

Sortable.mount(new AutoScroll());
export { Sortable };

sortablejs

JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery required. Supports Meteor, AngularJS, React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.

MIT
Latest version published 4 months ago

Package Health Score

95 / 100
Full package analysis