You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/08/27 19:39:46 UTC

[GitHub] [echarts] Rahulkishanm edited a comment on issue #12043: Detect whether a click event triggered from any of the elements.

Rahulkishanm edited a comment on issue #12043:
URL: https://github.com/apache/echarts/issues/12043#issuecomment-907433474


   This works for me.
   echart.getZr().on('click', function(event) {
       if (!event.target) {
        // deselect all of the selected sectors. 
       }
     })


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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