Files
limanapp/LiMan.UI/Components/CmpPageTitle.razor.cs
Samuele Locatelli 86ca7fa93c Fix update display
2024-07-15 11:22:39 +02:00

27 lines
629 B
C#

using Microsoft.AspNetCore.Components;
using System.Threading.Tasks;
namespace LiMan.UI.Components
{
public partial class CmpPageTitle
{
[Parameter]
public string CurrIcon { get; set; } = "";
[Parameter]
public string CurrName { get; set; } = "";
protected override async Task OnParametersSetAsync()
{
isLoading = true;
await Task.Delay(1);
//await InvokeAsync(StateHasChanged);
isLoading = false;
//await InvokeAsync(StateHasChanged);
}
private bool isLoading { get; set; } = false;
}
}