Please wait...

search
close

## SORTABLE & NESTABLE Taken by github.com/dbushell/Nestable

## DEFAULT EXAMPLE Drag & drop hierarchical list with mouse and touch compatibility

- more_vert

1. Item 1
2. Item 2
   1. Item 3
   2. Item 4
   3. Item 5
      1. Item 6
      2. Item 7
      3. Item 8
   4. Item 9
   5. Item 10
3. Item 11
4. Item 12

Output JSON [{"id":1},{"id":2,"children":[{"id":3},{"id":4},{"id":5,"children":[{"id":6},{"id":7},{"id":8}]},{"id":9},{"id":10}]},{"id":11},{"id":12}]

## DEFAULT EXAMPLE Drag & drop hierarchical list with mouse and touch compatibility

- more_vert

1. Item 1
2. Item 2
   1. Item 3
   2. Item 4
   3. Item 5
      1. Item 6
      2. Item 7
      3. Item 8
   4. Item 9
   5. Item 10
3. Item 11
4. Item 12

Output JSON [{"id":1},{"id":2,"children":[{"id":3},{"id":4},{"id":5,"children":[{"id":6},{"id":7},{"id":8}]},{"id":9},{"id":10}]},{"id":11},{"id":12}]

## DRAGGABLE HANDLES

- more_vert

1. Item 13
2. Item 14
3. Item 15
   1. Item 16
   2. Item 17
   3. Item 18

Output JSON [{"id":13},{"id":14},{"id":15,"children":[{"id":17},{"id":16},{"id":18}]}]