feat: add draghandle prop to node

* specify a drag handle on the node

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-21 21:50:49 +01:00
parent b10207021f
commit a55e33f91f
4 changed files with 23 additions and 5 deletions
+1
View File
@@ -160,6 +160,7 @@ export default {
<template>
<DraggableCore
cancel=".nodrag"
:handle="props.node.dragHandle"
:disabled="!draggable"
:scale="scale"
:grid="props.snapGrid"