From 411614ce39182bb50217cd838c7b1ae2c0143fe4 Mon Sep 17 00:00:00 2001 From: Songhn Date: Tue, 15 Jun 2021 18:54:40 +0800 Subject: [PATCH] fix(docs): English Event docs typo --- packages/site/docs/api/Event.en.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/site/docs/api/Event.en.md b/packages/site/docs/api/Event.en.md index 9ed2e071de..af6fe1f026 100644 --- a/packages/site/docs/api/Event.en.md +++ b/packages/site/docs/api/Event.en.md @@ -116,7 +116,7 @@ Where, the event object `evt` has the properties: Combo inherit all the interaction events of Node. -## Canvas Interaction Event +### Canvas Interaction Event | Event Name | Description | | --- | --- | @@ -130,7 +130,7 @@ Combo inherit all the interaction events of Node. | canvas:mousedown | Activated when the left or right button is clicked down on the canvas. It cannot be activated by keyboard. | | canvas:mouseup | Activated when the left or right button is released on the canvas. It cannot be activated by keyboard. | | canvas:contextmenu | Open the context menu when user clicks the right button of mouse on the canvas. | -| canvas:dragstart | Activated when user begins to drag the canvas. This event is applied on the dragged canvas. [Demo](/en/examples/tool/contextMenu). | +| canvas:dragstart | Activated when user begins to drag the canvas. This event is applied on the dragged canvas. | | canvas:drag | Activated during the dragging process on the canvas. This event is applied on the dragged canvas. | | canvas:dragend | Activated when user stops dragging on the canvas. This event is applied on the dragged canvas. | | canvas:dragenter | Activated when user drags the canvas into a target item. This event is applied on the target item. | @@ -383,4 +383,4 @@ No parameters. | Name | Type | Description | | --------- | -------- | -------- | | item | Item | The item the tooltip related to (a node or an edge). | -| action | 'show' / 'hide' | The current action. | \ No newline at end of file +| action | 'show' / 'hide' | The current action. |