# virtual-dnd-list-core **Repository Path**: mfuu/virtual-dnd-list-core ## Basic Information - **Project Name**: virtual-dnd-list-core - **Description**: virtual-dnd-list-core - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-13 - **Last Updated**: 2026-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # virtual-dnd-list-core ## Usage ```js import { VirtualSortable } from './index'; let vs = new VirtualSortable(elem, { delay: 0, group: '', handle: '', lockAxis: '', sortable: true, disabled: false, draggable: '', animation: 150, autoScroll: true, scrollSpeed: { x: 10, y: 10 }, appendToBody: false, scrollThreshold: 55, delayOnTouchOnly: false, dropOnAnimationEnd: true, ghostClass: '', ghostStyle: {}, ghostContainer: null, chosenClass: '', placeholderClass: '', size: 0, keeps: 0, buffer: 0, wrapper: HTMLElement, scroller: HTMLElement, direction: 'vertical', // or `horizontal` uniqueKeys: [], debounceTime: 0, throttleTime: 0, onDrag: (event) => {}, onDrop: (event) => {}, onScroll: (event) => {}, onUpdate: (range, changed) => {}, }); ```