feat: bind props to slots

* bind props to slots in edges, handle, nodes

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-18 13:40:06 +01:00
parent b2d124ef7a
commit 0be492b7c6
8 changed files with 36 additions and 8 deletions
+1 -1
View File
@@ -43,6 +43,6 @@ const onMouseDownHandler = (event: MouseEvent) =>
]"
@mousedown="onMouseDownHandler"
>
<slot></slot>
<slot :node-id="nodeId" v-bind="props"></slot>
</div>
</template>