mirror of
https://github.com/PacktPublishing/Web-Development-with-Blazor-Second-Edition.git
synced 2025-12-06 05:32:03 +01:00
11 lines
235 B
Plaintext
11 lines
235 B
Plaintext
@page "/parentcounter"
|
|
<CounterWithParameterAndEvent IncrementAmount="@incrementamount" @bind-CurrentCount="currentcount"/>
|
|
The current count is: @currentcount
|
|
@code {
|
|
int incrementamount = 10;
|
|
int currentcount = 0;
|
|
|
|
|
|
|
|
}
|