private async Task OnCancelClick(MouseEventArgs e) { // Change state _listVisible = false; // Reset List Context = null; await ContextChanged.InvokeAsync(Context); }
private async Task OnInput(ChangeEventArgs e) { // Stop timer _timer.Stop(); // Change term Term = e.Value.ToString(); // Reset context Context = null; await ContextChanged.InvokeAsync(Context); // Change state _listVisible = true; _loading = true; // Start timer _timer.Start(); }