Skip to content

DominikPeters/drag-drop-weak-orders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drag-drop-weak-orders

JavaScript implementation of a drag and drop UI for weak orders (rankings with ties), based on the HTML5 drag and drop API. The code is vanilla JS, in the fully self-contained files horizontal.html (horizontal version) and vertical.html (vertical version with horizontal indifference classes). At the time of development (April 2024), the drag and drop API was still not well-supported on mobile browsers, so I'm also loading a polyfill javascript file (https://github.com/Bernardo-Castilho/dragdroptouch), but this may become unnecessary in due course.

Demo: https://dominikpeters.github.io/drag-drop-weak-orders/

drag-drop-weak-order

About

JavaScript implementation of a drag and drop UI for weak orders (rankings with ties)

Resources

License

Stars

Watchers

Forks