Skip to content

DragSolo.js is a streamlined library dedicated exclusively to simple, efficient drag-and-drop functionality.

License

Notifications You must be signed in to change notification settings

Strangemother/dragsolo.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DragSolo.js

Simplicity in Motion.

DragSolo.js offers a focused, efficient, and streamlined dragging experience. This lightweight library is dedicated solely to dragging functionalities, designed for developers seeking a no-nonsense approach to drag-and-drop features. With an emphasis on simplicity and ease-of-use, DragSolo provides exactly what you need — pure dragging capabilities, without any excess.

Demo of DragSolo.js

Getting Started

Include dragsolo.js in your HTML. For a plug-and-play experience, apply a selector in the script:

<script src="js/dragsolo.js" dragsolo-selector='.box'></script>

And you're good to go!

Manual Setup

If you're not using the dragsolo-selector attribute on the script tag, set up the drag host manually:

const dragHost = new DragSolo();
dragHost.enable('.box');

Again, you're good to go!


DragSolo is designed to easily plug in and deliver smooth dragging. Once set up, you can forget about it and focus on more pressing matters.

About

DragSolo.js is a streamlined library dedicated exclusively to simple, efficient drag-and-drop functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published