Change tab on swipe



  • Does any one know how to change the view when the user swipe somewere on the screen, like the tabs from whatsapp?



  • Use a slider component with your content in each slide. Then you can watch the @slide event emitted from the slider and change the tabs above. Problem is that you have to have a prop for the tab nav and the currentSlide in the slider and sync them altogether which can be a pain.
    Currently the tabs component doesn’t support this out of the box. You can file an issue on github and who ever has time to do this first will try to do a PR.


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.