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:26 UTC

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

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


   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