Closed
Description
Currently transition.{attr,style,text,…} are built on transition.tween, and they don’t evaluate the new value until the tween is initialized. That’s bad; many examples (such as this one) rely on synchronous evaluation of transition.attr and the like, so that external state can be modified during the initialization of a transition.
I’m not suggesting we change transition.{attrTween,styleTween,tween,…}: those can’t be evaluated until the transition starts, by design. By the transition methods that only compute the destination value must be evaluated earlier.
Metadata
Metadata
Assignees
Labels
No labels