Drag-select on JavaScript (Make elements selectable)
How to implement drag-select (make HTML elements selectable by area mouse selecting)? I'm interested in the element selecting like it is in file explorers (of Windows, Linux) and many other sites that provide a file explorer behaviour (dropbox.com, google.drive, mega.nz, js-fileexplorer demo). I mean the selecting when you create a rectangular area by mouse move with all elements are touched by this area are "selected" (for example, an extra CSS class is added to them). How to do it? Best approach?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.