@using System.Threading.Tasks @inherits PanelComponent
@InteractionString
@if (IsHoldInteraction) {
}
@code { [Property] public string InteractionString { get; set; } = "Interact"; [Property] public bool IsHoldInteraction { get; set; } = false; [Property] public float ProgressionHold { get; set; } = 0f; public async Task TriggerInteractAnimation() { AddClass("interacted"); await Task.Delay(300); RemoveClass("interacted"); } }