1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-27 13:17:29 +00:00
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 };