Closed rosalinadev closed 1 year ago
As a surprise the documentation is actually right here because the duration is optional. Feel free to file a PR to solve it. And whenever you find something, feel free to raise issues and/or create PRs. Unfortunately I have only so much time left to work on svg.js and rely on help from others whenever possible
In the Typescript declarations file, the
animate()
function under theRunner
class is set to require a duration, whereas the documentation example shows chaininganimate()
without durations.Edit: Actually, there's a lot that's wrong with the declarations, dmove() doesn't exist under the Runner type, you can't use an object in animate() under the Runner class, and probably others