Files
SPT-Server-Build/Testing/TestMod/Components/Pages/TestModPage.razor
T
2025-10-10 14:54:55 +02:00

21 lines
305 B
Plaintext

@page "/test/page"
<h3>TestModPage</h3>
<img src="/TestMod/chomp.jpg" alt="Chomp!" />
<h3>Counter Test</h3>
<p>Current count: @count</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int count = 0;
private void IncrementCount()
{
count++;
}
}