drag-and-drop icon indicating copy to clipboard operation
drag-and-drop copied to clipboard

Feature Request: Auto update Ref from data

Open LeaderbotX400 opened this issue 1 year ago • 0 comments

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

LeaderbotX400 avatar Feb 24 '24 18:02 LeaderbotX400