hi, I need to call my custome function on tab selection of any tab, is there any particular way?
OR will need to extend the existing component.
Hi @akshaykinhikar, as per documentation here https://akveo.github.io/nebular/#/docs/components/tabs there is an output called changeTab:
<nb-tabset (changeTab)="onChangeTab($event)">...
Hope this helps.
Its worked, but I have scenario like this:
<nb-tabset (changeTab)="selectTab($event)">
<div *ngFor="let element of arrayOfElement">
<nb-tab tabTitle="{{element}}">
</nb-tab>
</div>
</nb-tabset>
and I'm currently unable to get selected tab.
event.tabTitle
It Worked.., Thank you..,
Great! Closing now.
It looks like the changeTab output does not appear in the doc anymore.
Hi changeTab was not work me