Skip to content

FiggChristian/Draggable-Elements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draggable-Elements

Draggable-Elements is a JavaScript library for, you guessed it, draggable elements. It comes with different options that you may configure to your liking and is extremely easy to start. It is a stand-alone library with no dependencies.

Main Page: https://christianfigueroa.github.io/JavaScript/Draggable-Elements/home

The above gif shows a small demo of the library in action (Link to play around with it).

Usage

new DraggableElement(element, [options]);
DraggableElement(element, [options]);
element.draggableElement([options]);

There are three ways to instantiate a new draggable element. The argument element refers to any regular HTMLElement. options can be a JSON object with certain key-value pairs that determine how the element is to behave. The different options can be found here.

Documentation

The documentation pages can be found here for all versions.

Demo

Click Me

Changelog

v1.0

Initial Release

Full Changelog

Download

GitHub:MinifiedDevelopment

Full Download Page

Email and License

Email: figgchristian@gmail.com

License (MIT)