Hide Tab
#332
Replies: 2 comments
-
@KeldJ You can try . Link: https://demos.blazorbootstrap.com/tabs#title-with-icon <Tabs EnableFadeEffect="true">
<Tab IsActive="true">
<TitleTemplate>
<Icon Name="IconName.HouseFill" /> Home
</TitleTemplate>
<Content>
<p class="mt-3">This is the placeholder content for the <b>Home</b> tab.</p>
</Content>
</Tab>
<Tab>
<TitleTemplate>
<Icon Name="IconName.PersonFill" /> Profile
</TitleTemplate>
<Content>
<p class="mt-3">This is the placeholder content for the <b>Profile</b> tab.</p>
</Content>
</Tab>
<Tab>
<TitleTemplate>
<Icon Name="IconName.PhoneFill" /> Contact
</TitleTemplate>
<Content>
<p class="mt-3">This is the placeholder content for the <b>Contact</b> tab.</p>
</Content>
</Tab>
</Tabs> |
Beta Was this translation helpful? Give feedback.
0 replies
-
@KeldJ I'm not sure on this design. But you can not use the @OnClick event, Because, tab it self will has a click event. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Based on Activate individual tabs in demo https://demos.blazorbootstrap.com/tabs i would like to create Tab navigation only using buttons. When setting Title to "" the tabs renders with "No title"
Is there any way to accomplish the desired
Beta Was this translation helpful? Give feedback.
All reactions