@using Syncfusion.EJ2.Blazor.Navigations
<EjsTab LoadOn="ContentLoad.Init" Height="auto" CssClass="e-fill">
<TabItems>
<TabItem>
<ChildContent>
<TabHeader Text="Rome"></TabHeader>
</ChildContent>
<ContentTemplate>
<div>
<div class="content-title">
<div class="cnt-text">Employee Info</div>
</div>
</div>
</ContentTemplate>
</TabItem>
<TabItem>
<ChildContent>
<TabHeader Text="Theme"></TabHeader>
</ChildContent>
<ContentTemplate>
<div id="theme">
<div class="content-title">
<ChooseTheme></ChooseTheme>
</div>
</div>
</ContentTemplate>
</TabItem>
</TabItems>
</EjsTab> |
<h1>Counter</h1>
<p>Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
}
}
|