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

Repeat/Restart Animate animation #5751

Open
carlberg74 opened this issue Sep 25, 2024 · 0 comments
Open

Repeat/Restart Animate animation #5751

carlberg74 opened this issue Sep 25, 2024 · 0 comments
Labels
Type: Feature ⚙ Request or idea for a new feature.

Comments

@carlberg74
Copy link

I added a simple animation and that works, but I want it to repeat every X seconds..

<Animate @ref="@_animate" Animation="Animations.SlideLeft">
Again...Please..

I tried setting; Once="false" Auto="true" DelayMilliseconds="2000" and was hoping for the animation would repeat after 2000 ms..
But it only runs once.

So, I tested added a Timer that calls: _animate.Run() every X seconds, but it wont run..
Tested added: await InvokeAsync(async () => _animate.Run() + StateHasChanged(); }); in the Elapsed event of the timer..
But nothing gets the animation to repeat/run-again.

If add a button and add _animate.Run() ... that would probably work.. but..

What am I missing?

Another questions, Easing, I guess that occurs after the Animation? but setting it to ex. EaseInBackEasing, has no effect.

@carlberg74 carlberg74 added the Type: Feature ⚙ Request or idea for a new feature. label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature ⚙ Request or idea for a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant