docs: 📚️ fix doc error (#1734)

This commit is contained in:
vector
2022-01-07 13:45:03 +08:00
committed by GitHub
parent 966f58462a
commit 30f1fe201c
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ edge.addTools([
])
```
场景二:鼠动态添加/删除小工具。
场景二:鼠动态添加/删除小工具。
```ts
graph.on('edge:mouseenter', ({ cell }) => {
@ -49,7 +49,7 @@ graph.on('edge:mouseenter', ({ cell }) => {
},
],
'onhover', // 工具集名称,可省略
})
)
})
graph.on('edge:mouseleave', ({ cell }) => {

View File

@ -36,7 +36,7 @@ edge.addTools([
])
```
场景二:鼠动态添加/删除小工具。
场景二:鼠动态添加/删除小工具。
```ts
graph.on('edge:mouseenter', ({ cell }) => {
@ -49,7 +49,7 @@ graph.on('edge:mouseenter', ({ cell }) => {
},
],
'onhover', // 工具集名称,可省略
})
)
})
graph.on('edge:mouseleave', ({ cell }) => {