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 2019/05/23 07:26:57 UTC

[GitHub] [incubator-echarts] nanhao1986 commented on issue #9815: echart tree label 设置点击事件

nanhao1986 commented on issue #9815: echart tree label 设置点击事件
URL: https://github.com/apache/incubator-echarts/issues/9815#issuecomment-495100518
 
 
   
   持续关注这个问题,目前采用了替代方案:
   `document.oncontextmenu = function () { return false; };`
   先屏蔽系统的右键操作,然后通过右键点击实现弹窗:
   `myChart.on('contextmenu',  function (params) {
         //do something
       });`
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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