Files
frontend/src/resources/sortable.ts
2024-11-07 17:33:18 +01:00

13 lines
299 B
TypeScript

import type Sortable from "sortablejs";
import SortableCore, {
AutoScroll,
OnSpill,
} from "sortablejs/modular/sortable.core.esm";
SortableCore.mount(OnSpill);
SortableCore.mount(new AutoScroll());
export default SortableCore as typeof Sortable;
export type { Sortable as SortableInstance };