Add "ondblclick"-Option - e.g. for Exporting-Module
What I want to do:
exportButton.onclick = show Menu
exportButton.ondblclick = direct export
This should actually be possible using jQuery, but I dislike adding Code beside the Highcharts-Object.
117
votes
![](https://secure.gravatar.com/avatar/c93ae3671c7b38c574242f0ceca250c1?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Currently available only by DOM scripting.
-
sebastian commented
In general, when you attach double click event, click event will be also triggered, so we cannot stop propagation of that.
-
dcw commented
This "ondblclick"-Option should also work for custom Buttons (not only "printButton" and "exportButton").