@using Syncfusion.EJ2.Blazor.Navigations
<EjsTab>
<TabItems>
<TabItem>
<ChildContent>
<TabHeader Text="Header1"></TabHeader>
</ChildContent>
<ContentTemplate><Counter></Counter></ContentTemplate>
</TabItem>
<TabItem>
<ChildContent>
<TabHeader Text="Header1"></TabHeader>
</ChildContent>
<ContentTemplate><FetchData></FetchData></ContentTemplate>
</TabItem>
</TabItems>
</EjsTab>
|
public void ConfigureServices(IServiceCollection services)
{
….
services.AddScoped<CounterState>(); |