You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/05/02 09:30:08 UTC

[GitHub] doopcl commented on issue #7941: 渲染树形图时,如果设置了charts.on('dblclick',[function])后,双击操作在特定场景下难以触发

doopcl commented on issue #7941: 渲染树形图时,如果设置了charts.on('dblclick',[function])后,双击操作在特定场景下难以触发
URL: https://github.com/apache/incubator-echarts/issues/7941#issuecomment-385919072
 
 
   @100pah  
   我个人的想法是:
   1,双击节点应该可以命中dblclick的自定义事件上,目前在我的demo中基本难以操作到
   2,单击的话因为存在组件自有事件和自定义事件两种,那么流程上可以理解为,当用户自定义了click事件时,可以在自定义事件中自行控制是否继续走到节点 展开/收起 操作,如果用户未定义,则可以默认走到节点展开/收起 操作.
   不知道能否可以实现?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org