Counter

Current count: @currentCount

@functions { int currentCount = 0; bool handleClicks = true; void IncrementCount() { currentCount++; } public void Reset() { currentCount = 0; StateHasChanged(); } }