fix: correct event listeners in examples

This commit is contained in:
Braks
2021-10-20 22:39:54 +02:00
parent c3fb3cd10a
commit fede792a37
8 changed files with 57 additions and 21 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ watchEffect(() => {
})
</script>
<template>
<Flow :elements="elements" :on-connect="onConnect">
<Flow :elements="elements" @connect="onConnect">
<MiniMap />
<Controls />