d3-drag icon indicating copy to clipboard operation
d3-drag copied to clipboard

remove dragEvent.on?

Open Fil opened this issue 5 years ago • 0 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 https://github.com/d3/d3-drag/commit/48792de0c6e3a5074e76f234239b7f565b56ae19 and documented in https://github.com/d3/d3-drag/commit/b04b031d1e856e7011ec3b271c1b0a7d69eb1954

References: https://github.com/d3/d3-zoom/pull/205/commits/96bd44b20298984fcfd25c7c1172a30080a19eaa https://github.com/d3/d3-brush/pull/71#issuecomment-663018853

Fil avatar Jul 24 '20 12:07 Fil