fluid-dnd
Version:
An agnostic drag and drop library to sort all kind of lists. With current support for vue, react and svelte
5 lines (4 loc) • 426 B
TypeScript
import { CoreConfig } from '..';
import { DroppableConfig } from '../config/configHandler';
import HandlerPublisher from '@/core/HandlerPublisher';
export default function useRemoveEvents<T>(currentConfig: CoreConfig<T>, parent: HTMLElement, handlerPublisher: HandlerPublisher, endDraggingAction: () => void): readonly [(index: number, targetIndex: number, draggableElement: HTMLElement, config: DroppableConfig<T>) => void];