d3 / d3-drag

Drag and drop SVG, HTML or Canvas using mouse or touch input.

Home Page:https://d3js.org/d3-drag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

remove dragEvent.on?

Fil opened this issue · comments

The reasons for having dragEvent.on subevents do not appear clear; removing it might help clarify the API as well as make it more consistent with d3-zoom's.

The feature was introduced in 48792de and documented in b04b031

References: d3/d3-zoom@96bd44b d3/d3-brush#71 (comment)