Skip to content

Drag n drop js library based on dragula.js but fully rewriten to SOLID style of library (work in progress!)

License

Notifications You must be signed in to change notification settings

luckylooke/dragon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dragon (dragon.js)

Total rewrite of drag&drop javascript library dragula.js into shiny new library with SOLID design principles. ( work in progress!!! )

⚠️ WARNING

THIS LIBRARY IS UNFINISHED AND STILL UNDER DEVELOPMENT, CODE CAN BE CHANGED OR REFACTORED ANYTIME. THIS LIBRARY IS NOT READY TO BE USED. IF YOU WANT TO BE NOTIFIED WHEN IT WILL BE READY, LET ME KNOW ON MY MAIL LUCKYLOOKE@GMAIL.COM

CURRENT STATE!!!

I have desparatelly trying to find time for this, but I am not much successful. So I cannot promise anything then I would love to continue on this but I dont know when it will be. Really sorry about that :/

My plan here.

Installation

npm install dragon

* many thanks to Enrico Marino (@onirame) for transferring ownership of his dragon npm package in favor of this project.

Projects with module bundler:

import Dragon from 'dragon';
new Dragon( config );

Projects without module bundler:

<script src='./dragon.js'></script>

Quick example

Projects with module bundler:

import Dragon from 'dragon';
new Dragon( document.getElementsByClassName('container') );

Projects without module bundler:

new Dragon( document.getElementsByClassName('container') );

Special thanks

I want to specially thank to Joe Hill for releasing the 'dragon' npm username in favor of the dragon library, so I was able to create @dragon organisation. So plugins of the library can be namespaces under @dragon/plugin-name

How can you contribute?

You can ask me on email (luckylooke@gmail.com), we can diskuss your skills and then I can share some tasks with you

How can you support the project?

This is my free time project now, so you can donnate the project to speed it up, more money I get, less time I need to work elsewhere.

paypal

About

Drag n drop js library based on dragula.js but fully rewriten to SOLID style of library (work in progress!)

Resources

License

Stars

Watchers

Forks

Packages

No packages published