Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.
/ MovableJs Public archive

Awesome Javascript library to make html elements movable on the go

License

Notifications You must be signed in to change notification settings

arnav-kr/MovableJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Note:- Movablejs is no longer maintained This repository has been archived

MovableJs

Awesome Javascript library to make html elements movable on the go!

See Live Demo.

Getting The Library

You Can Use these Scripts to include movable.js or movable.min.js in your website.

<script src="https://rawcdn.githack.com/arnav-kr/MovableJs/6f6976fe5e798d8716b9f46aff46e2102313ffa3/dist/movable.js"></script>
<script src="https://rawcdn.githack.com/arnav-kr/MovableJs/6f6976fe5e798d8716b9f46aff46e2102313ffa3/dist/movable.min.js"></script>

How To Use

Define a Movable object with id of HTML element as its Parameter, store it in a variable. Use init(); method to initialize. And Done!

HTML:

<div id="myDiv"> I am a Movable </div>

JS:

var movable = new Movable("myDiv");
//use init(); to initilize
movable.init();

More Options

movable.unInit();
//Use unInit(); method to Uninitilize the Movable
Methods Uses
init(); Used to initilize the Movable.
unInit(); Used to uninitilize the Movable.

Created By Arnav Kumar

About

Awesome Javascript library to make html elements movable on the go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published