docs: improve teleport example with transitions

This commit is contained in:
bcakmakoglu
2022-06-15 21:17:36 +02:00
parent 87ad709e5e
commit 2de121509e
3 changed files with 86 additions and 22 deletions
+2 -2
View File
@@ -16,14 +16,14 @@ const elements = ref([
id: '2',
label: 'Click to teleport',
type: 'teleportable',
position: { x: 250, y: 100 },
position: { x: 350, y: 200 },
data: {},
},
{
id: '3',
label: 'Click to teleport',
type: 'teleportable',
position: { x: 0, y: 100 },
position: { x: 0, y: 200 },
data: {},
},
{