Nested Sort is a vanilla JavaScript library, without any dependencies, which helps you to sort a nested list of items via drag and drop. Unfortunately, it does not support touch screens yet.
https://gilgaz.com/nested-sort
Using npm:
$ npm install nested-sortUsing yarn:
$ yarn add nested-sortTo run this project, you will need:
- Node.js >= v10.5.0, use nvm - install instructions
- Yarn >= v1.7.0 - install instructions ("Alternatives" tab)
yarn
yarn test
yarn test --watch
yarn test:coverageWhen developing you can run:
yarn watch
This will regenerate the build files each time a source file is changed and serve on http://127.0.0.1:5000.
You can navigate to http://127.0.0.1:5000/dev/ in order to see the samples.
