d3 / d3-transition

Animated transitions for D3 selections.
https://d3js.org/d3-transition
ISC License
224 stars 65 forks source link

Rename transition.each(type, listener). #5

Closed mbostock closed 8 years ago

mbostock commented 9 years ago

Seems like transition.on(type, listener) would be a better name, and avoid the confusion with transition.each(listener). I suppose there’s a risk that it would look like you’re trying to transition listeners on selected elements, but that’s obviously not the sort of thing that could be transitioned.

mbostock commented 8 years ago

Renamed transition.on.