我希望这两个 SVG 动画具有相同的持续时间,但 end="showLine.end" 没有任何效果。
<animate id="showLine" attributeName="cx" begin="0s" dur="5s"/>
<animateTransform attributeName="transform" type="translate" begin="showLine.begin+0s" end="showLine.end" fill="freeze" from="0,100" to="0,500"/>
请告诉我如何将一个动画的持续时间复制到另一个动画。谢谢。