You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to get the currently focused tab from refMap, previously you could use navigationState.index?
How to listen to the change of the tab? (Connected to above)
If you want to conditionally display content based on the current tab, or you just want to know for some logic which tab is currently focused, you used to be able to work this out from navigationState.
The text was updated successfully, but these errors were encountered:
How to get the currently focused tab from refMap, previously you could use navigationState.index?
How to listen to the change of the tab? (Connected to above)
#58 will add onIndexChange prop, here, and the imperative ref handler here, maybe we can add more methods to it, like currectTab: () => focusedTab .value and currentIndex: () => index.value
navigationState.index
?If you want to conditionally display content based on the current tab, or you just want to know for some logic which tab is currently focused, you used to be able to work this out from
navigationState
.The text was updated successfully, but these errors were encountered: