feat: Add assignment component with drag and drop to Set node (#8283)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
This commit is contained in:
@@ -117,7 +117,11 @@ export default defineComponent({
|
||||
|
||||
const data =
|
||||
this.targetDataKey && this.draggingEl ? this.draggingEl.dataset.value : this.data || '';
|
||||
this.ndvStore.draggableStartDragging({ type: this.type, data: data || '' });
|
||||
this.ndvStore.draggableStartDragging({
|
||||
type: this.type,
|
||||
data: data || '',
|
||||
dimensions: this.draggingEl?.getBoundingClientRect() ?? null,
|
||||
});
|
||||
|
||||
this.$emit('dragstart', this.draggingEl);
|
||||
document.body.style.cursor = 'grabbing';
|
||||
|
||||
Reference in New Issue
Block a user