Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

矩形边框怎么实现匀速蚂蚁线效果 #111

Open
farmercz opened this issue Mar 2, 2022 · 0 comments
Open

矩形边框怎么实现匀速蚂蚁线效果 #111

farmercz opened this issue Mar 2, 2022 · 0 comments

Comments

@farmercz
Copy link

farmercz commented Mar 2, 2022

rect.animate({ lineDash: [[8, 6], 5] }, { duration: 1000 }).start(true)
请问怎么解决这两个问题?
1.各边的速度不一致
2.动画执行完,再循环时会回到第一帧再播放

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant