mirror of
https://github.com/H3ALY/CollapsibleNavMenu.git
synced 2026-12-04 14:02:03 +00:00
Add project files.
This commit is contained in:
1 parent
0b545a0953
commit
9830a2d849
46 files changed
+1228
No files matched your search
@@ -0,0 +1,19 @@
|
||||
@page "/counter"
|
||||
|
||||
<PageTitle>Counter</PageTitle>
|
||||
|
||||
<h1>Counter</h1>
|
||||
|
||||
<p role="status">Current count: @currentCount</p>
|
||||
|
||||
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
|
||||
|
||||
@code
|
||||
{
|
||||
private int currentCount = 0;
|
||||
|
||||
private void IncrementCount()
|
||||
{
|
||||
currentCount++;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user