svelte-sortable-nested-list-view Svelte Themes

Svelte Sortable Nested List View

a sortable view for nested lists which also supports dragging items into and out of a list

svelte-sortable-nested-list-view

a sortable view for nested lists which also supports dragging items into and out of a list

It is based on svelte-drag-and-drop-actions and, consequently, on HTML5 native Drag-and-Drop.

NPM users: please consider the Github README for the latest description of this package (as updating the docs would otherwise always require a new NPM package version)

Mobile Developers: since many mobile platforms lack support for native HTML5 drag-and-drop, you should consider importing svelte-drag-drop-touch as a polyfill (a simple import of that package will suffice - there is no extra programming needed)

(under active development, please stay tuned)

Just a small note: if you like this module and plan to use it, consider "starring" this repository (you will find the "Star" button on the top right of this page), so that I know which of my repositories to take most care of.

Installation

npm install svelte-sortable-nested-list-view

Build Instructions

You may easily build this package yourself.

Just install NPM according to the instructions for your platform and follow these steps:

  1. either clone this repository using git or download a ZIP archive with its contents to your disk and unpack it there
  2. open a shell and navigate to the root directory of this repository
  3. run npm install in order to install the complete build environment
  4. execute npm run build to create a new build

See the author's build-configuration-study for a general description of his build environment.

License

MIT License

Top categories

Loading Svelte Themes