UNPKG

@auroratide/reorder-list

Version:
11 lines 586 B
import type { ReorderItemElement } from "./reorder-item.js"; export declare const CHANGED = "change"; export declare const COMMIT = "commit"; export type ReorderListChangeEventDetail = { item: ReorderItemElement; oldIndex: number; newIndex: number; }; export declare const changeEvent: (item: ReorderItemElement, oldIndex: number, newIndex: number) => CustomEvent<ReorderListChangeEventDetail>; export declare const commitEvent: (item: ReorderItemElement, oldIndex: number, newIndex: number) => CustomEvent<ReorderListChangeEventDetail>; //# sourceMappingURL=events.d.ts.map