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) 505 B
import { CoreConfig } from '../../core'; import { ListCondig } from '../../core'; export declare class SvelteListCondig<T> implements ListCondig<T> { private items; private parent; constructor(items: T[]); setParent(parent: HTMLElement | undefined): void; 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; }