wbkd/d3-extended

Issues with selection.trigger / selection.on

Closed this issue · 1 comments

We have implemented the d3.on function from d3-jetpack which is more advanced than the standard selection.on function as you can hand over multiple event names to listen to.

After adding this new function, our selection.trigger function does not work properly anymore as it relies on the native d3.on function. We are currently looking for an alternative way and have implemented the jQuery.trigger function which is a hotfix for the moment.

At the moment, you can use selection.trigger but it is not possible to hand data over to the event. We are working on a fix for that.

fixed eb3a0f2