Closed vivekd95 closed 1 year ago
Yes, you'll get both events. The enableSeek()
functions don't affect this. I'll need to think about how to handle this..
I have added a preventViewEvent()
method, so you can do this:
peaks.on('segments.click', function(event) {
event.preventViewEvent(); // Stops the zoomview.click event from being fired.
});
Hi, @chrisn Thanks. When can we expect the new release?
I have just released v3.0.0-beta.11. (I hope to get v3.0.0 out at some point soon.)
Thanks, @chrisn for the support.
Hi @chrisn
In my project, I need both
segments.click
andzoomview.click
. When I click on segments,zoomview.click
is also getting fired. I think onlysegments.click
should fire in this case. I have tried in both of the cases:enableSeeking=true
&enableSeeking=false
Do correct me if I am wrong.