Vaadin Touchkit - TabBarView with left/right swipe?!

Hi there,

i want to use a TabBarView with swipe gestures(left/right) to change Views.

Is there a (simple) way to handle this?

I tried to combine TabBarView with SwipeView, but this seems to be a very difficult way…

Greetings
Dennis

Hi,

SwipeView only works within NavigationManager so combining them directly will not work.

I haven’t really tried this but I think you could set up NavigationManager-SwipeView combo with your “tab contents” and then add a Toolbar below the the NavigationManagaer. Then some clue code to both navigation manager and toolbar and spice it with some CSS. You should then have a custom tailored tabbarview with “swipe support”.

cheers,
matti