This is a small library used for creating a sortable nested list.
Line 31 in f78a841
Item Style (CSSProperties)
Used to style list items
Lines 7 to 9 in f78a841
used to enable the collapsible option
Default Items (TreeItem[])
Used to pass the items in the sortable list
Lines 11 to 27 in f78a841
Used to add a drop indicator
Specify indentation for the nested components.
Default is 50
Specify whether the removed feature is required or not.
Default false
The function triggers when the given list of items changes (either rearranged or removed)
git clone https://github.com/nuttrtools/nested-sortable
cd nested-sortable && npm install
npm run dev