In my Blazor Server application I have label and I want to play an animation (maybe blinking) for some seconds after the value changed. The value change will be triggered as a consequence of an async UI Event Handler. The goal is to sets the users attention to the changed value.
Simple code:
<div>
<span id="labelThatShouldBeBlinkingOnValueChange" class="">@myValue</span>
</div>
How can I achieve this goal? Maybe adding a highlighting class by a C# timer in the Blazor component? Or do I have to write JavaScript/TypeScript? Is is this possible with pure CSS?
I am looking for a simple solution (as less as possible code) in order to keep my UI Code and Component logic code clean.