entry-defaults.js 409 B

12345678910111213141516171819
  1. import Sortable from '../src/Sortable.js';
  2. import AutoScroll from '../plugins/AutoScroll';
  3. import { RemoveOnSpill, RevertOnSpill } from '../plugins/OnSpill';
  4. // Extra
  5. import Swap from '../plugins/Swap';
  6. import MultiDrag from '../plugins/MultiDrag';
  7. Sortable.mount(new AutoScroll());
  8. Sortable.mount(RemoveOnSpill, RevertOnSpill);
  9. export default Sortable;
  10. export {
  11. Sortable,
  12. // Extra
  13. Swap,
  14. MultiDrag
  15. };