Skip to content

Commit

Permalink
fix: the event variable is misspelled (#2984)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdfas authored Nov 6, 2020
1 parent bdde7f3 commit 4dcf6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/manual/tutorial/event.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ G2 4.0 提供了丰富的事件机制,包括几大类:

```javascript
chart.on('click', (ev) => {
const shape = eve.shape;
const shape = ev.shape;
if (shape) {
// do something
}
Expand Down

0 comments on commit 4dcf6c9

Please sign in to comment.