You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
d3compat.eventHandler currently takes a function(datum, event) for trivial adaptation of old event handlers.
However, to reduce confusion and facilitate eventual removal of d3@5 compatibility, I think these should use the d3@6 signature.
Of course, we might not get to it until then; if not, this is documentation. It's something I noticed when working on #1824 when fixing tests to call consistently with the active version of d3. d3compat.callHandler takes a function(event, datum)
The text was updated successfully, but these errors were encountered:
d3compat.eventHandler
currently takes a function(datum, event) for trivial adaptation of old event handlers.However, to reduce confusion and facilitate eventual removal of d3@5 compatibility, I think these should use the d3@6 signature.
Of course, we might not get to it until then; if not, this is documentation. It's something I noticed when working on #1824 when fixing tests to call consistently with the active version of d3.
d3compat.callHandler
takes a function(event, datum)The text was updated successfully, but these errors were encountered: