节点的“mousewheel”事件监听不生效 #4408
Unanswered
zhangyingnan001
asked this question in
Q&A
Replies: 1 comment
-
你是不是和画布的缩放冲突了,我的是可以监听到的 graph.on('node:mousewheel', ({ node }) => {
console.log('鼠标滚轮缩放了');
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
x6事件定义中https://x6.antv.antgroup.com/tutorial/basic/events
鼠标滚轮 | cell:mousewheel | node:mousewheel | - | edge:mousewheel | blank:mousewheel
这些“mousewheel”事件监听不生效,请问怎样监听鼠标滚轮事件
Beta Was this translation helpful? Give feedback.
All reactions