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.
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.