vue-fluid-dnd
Version:
A Vue 3 drag and drop library to sort all kind of lists
6 lines (5 loc) • 353 B
TypeScript
import { Ref } from "vue";
export declare const removeAtEventOnList: <T>(list: Ref<T[]>, index: number) => T | undefined;
export declare const onInsertEventOnList: <T>(list: Ref<T[]>, index: number, value: T) => void;
export declare const getLength: <T>(list: Ref<T[]>) => number;
export declare const getValue: <T>(list: Ref<T[]>, index: number) => T;