Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(typo): dblclick, not dbclick #3308

Merged
merged 1 commit into from
Mar 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api/general/event.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ chart.off('eventName', callback); // 移除事件

- 柱形图的柱子被 click 的时候
- 图例的某一项被 hover 的时候
- 坐标轴的标签被 dbclick 的时候
- 坐标轴的标签被 dblclick 的时候
- ...

这种情况我们就可以使用 G2 的组合事件,G2 的组合事件规则为:`组件名:基础事件名`。
Expand All @@ -59,7 +59,7 @@ ${componentName}:${eventName}

- element:click
- legend-item:mouseover
- axis-label:dbclick
- axis-label:dblclick
- ...

> G2 内置的组件中,componentName 的分类很细,可以以下面的一个图进行大概说明。
Expand Down