Selecto.js
Selecto.js is a component that allows you to select elements in the drag area using the mouse or touch.
⚙️ Installation
npm
scripts
? How to use
Do you want to select accurately?
Since selecto
basically checks using getBoundingClientRect, it is not accurate if the object is rotated or distorted.
If you want to check accurately, use getElementRect
option with the following code