Skip to content

Allow preventing default action for events#272

Open
alexanderbird wants to merge 2 commits intogevgeny:masterfrom
alexanderbird:master
Open

Allow preventing default action for events#272
alexanderbird wants to merge 2 commits intogevgeny:masterfrom
alexanderbird:master

Conversation

@alexanderbird
Copy link
Copy Markdown

To prevent the default action, set eventNamePreventDefault to a truthy value -- for example: <chart [selectionPreventDefault]="true" ....>

In order to add support for drag-to-select, as documented under charts.events.selection here: https://api.highcharts.com/highcharts/chart.events.selection

Official example: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/chart/events-selection-points/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant