Custom Binding for drag and drop library dragula.js.
Supports copying, dragging, dropping and removing fields
- Source:
Example
<div data-bind="dragula: { data: myObservable }">
//IMPORTANT: The "handle" class is used to determine the drag handle of the field so this is required
<span class="handle">My draggable item</span>
</div>
Requires
- module:knockout
- module:dragula
- module:jquery
- module:app/models/Field