pubuzhixing8 / light-dnd

A lightweight drag and drop library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

light-drag-and-drop

A lightweight drag and drop library, currently still in beta stage.

Inspiration

light-dnd is inspired by the drag scene of rich text editors (highly customized drag and drop interaction), and the DOM native drag and drop events cannot meet all functional requirements. This library uses mouse events to handle drag and drop behavior, mainly including drag event simulation and general drag and drop interaction processing.

Features

  • Auto scroll handling

  • Esc cancel drag

  • Custom mouse cursor

About

A lightweight drag and drop library


Languages

Language:TypeScript 81.3%Language:JavaScript 18.1%Language:SCSS 0.6%