Right now there is only a selectedIndexChanged
event for TabView. It would be nice with a Tab selection event, so that we could implement custom behavior when the currently active Tab is tapped again.
Examples:
Suggestion:
As discussed with @sebawita , a simple onTabTapped
event, which would trigger with: currentTabIndex
and newTabIndex
, would do the job. Naming could be improved :)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
A follow up here.
After a discussion within the core team and as mentioned above, we would suggest exposing a tabItemTap
event. It will raise before selectedIndexChanged
and will allow developers to implement custom behavior.
@vchimev Any idea when this will be released?
is tabItemTap event implemented?
I'm also very interested to get this working.
Will this be a part of TabView re-design in version 6.0? #6967
I'm also interested in this being implemented. Any News ?
@AlexisWalravens as mentioned in new TabView re-design, it will be a part of version 6.1 (check the link in my previous comment)
I think this can now be closed as nativescript 6.1 released with tap event for new bottomNavigation component.
The feature is out saw it on the nativescript bottom navigation docs. Click here
Most helpful comment
@vchimev Any idea when this will be released?