UNPKG

fluid-dnd

Version:

An agnostic drag and drop library to sort all kind of lists. With current support for vue, react and svelte

14 lines (13 loc) 518 B
import { CoreConfig } from '../../core'; import { ListCondig } from '../../core'; import { Ref } from 'vue'; export declare class VueListCondig<T> implements ListCondig<T> { private items; private parent; constructor(items: Ref<T[]>, parent: Ref<HTMLElement | undefined>); removeAtEvent(index: number): T | undefined; insertEvent(index: number, value: T): void; getLength(): number; getValue(index: number): T; insertToListEmpty(config: CoreConfig<T>, index: number, value: T): void; }