How to Set-Up

First copy the link element found below,

Then paste it in your script src attribute.(above the place you want to use the library)

https://amieldev.github.io/libs/drag/drag.js

How to Use

After linking drag.js in your html file ,when ever you want to make an element dragable
you just go to your java-script and type drag() and pass your element's id or class.

Example:

Html

Css

Java-script

Result:

©Amiel-Sintayehu(Ami-Dev)