-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Tried to get this working with Delay but the animation start immediatly. Also tried using Blasorise implementation. Same issue.
Tried it with DelayMs = "5000" with Delay=@TimeSpan.FromSeconds(5). Same issue.
Solved it like this but it's not nice:
<Animate Animation="Animations.FadeIn"
DurationMs="1000"
@ref=@UnAuthorizedAnimation
IsManual="true">
<h3>UnAuthorizedDisplay</h3>
</Animate>
using BlazorAnimate;
using System.Threading.Tasks;
namespace Wur.GroupTool.Blazor.Shared
{
public partial class UnAuthorizedDisplay
{
private Animate UnAuthorizedAnimation;
protected override async void OnInitialized()
{
await Task.Delay(5000);
UnAuthorizedAnimation.Run();
base.OnInitialized();
}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels