fix(docs): English Event docs typo

This commit is contained in:
Songhn 2021-06-15 18:54:40 +08:00 committed by Yanyan Wang
parent 29db6d2a71
commit 411614ce39

View File

@ -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. |
| action | 'show' / 'hide' | The current action. |