Add project files.
This commit is contained in:
parent
4db0bf9298
commit
cb8dd0eb76
221 changed files with 109953 additions and 0 deletions
17
LearningChineseSimplified/Pages/Counter.razor
Normal file
17
LearningChineseSimplified/Pages/Counter.razor
Normal file
|
@ -0,0 +1,17 @@
|
|||
@page "/counter"
|
||||
|
||||
<PageTitle>Counter</PageTitle>
|
||||
|
||||
<MudText Typo="Typo.h3" GutterBottom="true">Counter</MudText>
|
||||
<MudText Class="mb-4">Current count: @currentCount</MudText>
|
||||
<MudButton Color="Color.Primary" Variant="Variant.Filled" @onclick="IncrementCount">Click me</MudButton>
|
||||
|
||||
|
||||
@code {
|
||||
private int currentCount = 0;
|
||||
|
||||
private void IncrementCount()
|
||||
{
|
||||
currentCount++;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue