Skip to content

Axe d3.event? #191

@mbostock

Description

@mbostock

Related #189, maybe it’s time to consider a new major version that removes d3.event. Instead of temporarily setting a global, how about event listeners simply receive the current event as an argument, as is the standard behavior outside of D3? To further access the bound data (and index/group), the data could be passed as the second argument. And we could drop the additional index and group arguments, and require you to use selection.each if you want to capture that state.

TODO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions