Builds but needs tested
This commit is contained in:
16
APC Viewer/Blazor/Counter.razor
Normal file
16
APC Viewer/Blazor/Counter.razor
Normal file
@ -0,0 +1,16 @@
|
||||
<h3>Counter</h3>
|
||||
|
||||
<p>
|
||||
Current Count: @i
|
||||
</p>
|
||||
|
||||
<button @onclick="IncrementCounter" class="btn btn-primary">Click Me</button>
|
||||
|
||||
@code {
|
||||
int i = 0;
|
||||
|
||||
private void IncrementCounter()
|
||||
{
|
||||
i += 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user