drag-and-drop
drag-and-drop copied to clipboard
Feature Request: Auto update Ref from data
Being able to update some kind of ref would be nice as it would cut down on needed code.
Easily doable externally with something like
const modelValue = defineModel({ default: [] });
const [parent, data] = useDragAndDrop(modelValue.value);
watch(data, (value) => {
modelValue.value = value;
});
More of a nice to have than a need to have