blazorbootstrap
blazorbootstrap copied to clipboard
Tabs - GetActiveTab
I'm trying to dynamically change the title of the page when entering on a new tab.
<h1>@tabs.GetActiveTab()?.Title</h1>
Unfortunally this is not working. Can you suggest me how I can achieve this?
Actually i'm using a variable and i call the onclick event on every tab to populate this variable. I'm wondering if there could be a smarter way to do the same.