Open nicholascowan opened 9 years ago
Essentially, is there a way to support "draggable" on an iterable set similar to how "sortable" functions, minus the actual sorting functionality, essentially making the items only draggable.
Currently I am doing something like this:
<ul data-bind="foreach: objectArray"> <li data-bind="draggable: {data: $data, options: {}}"> <span data-bind="text: name"></span> </li> </ul>
But just seems a bit wasteful.
Essentially, is there a way to support "draggable" on an iterable set similar to how "sortable" functions, minus the actual sorting functionality, essentially making the items only draggable.
Currently I am doing something like this:
But just seems a bit wasteful.