@using Microsoft.AspNetCore.Blazor

Counter

Current count:

@functions { int currentCount = 0; void IncrementCount(UIMouseEventArgs e) { currentCount++; } }