Sorry, there's nothing at this address.
10 |Sorry, there's nothing at this address.
10 |Current count: @currentCount
8 | 9 | 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /MapsuiExercise/Pages/Home.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | @using Mapsui.UI.Blazor 3 | 4 |This component demonstrates fetching data from the server.
9 | 10 | @if (forecasts == null) 11 | { 12 |Loading...
13 | } 14 | else 15 | { 16 |Date | 20 |Temp. (C) | 21 |Temp. (F) | 22 |Summary | 23 |
---|---|---|---|
@forecast.Date.ToShortDateString() | 30 |@forecast.TemperatureC | 31 |@forecast.TemperatureF | 32 |@forecast.Summary | 33 |