tab view - loop

0 votes
asked Aug 16, 2016 in Help by neoliquid (150 points)
Hello.

 

How can i loop tab view item?

(tab1 -> tab2 -> tab3 -> tab1 ...)

 

Help me. Thanks.

1 Answer

0 votes
answered Aug 16, 2016 by admin (31,720 points)
selected Aug 22, 2016 by admin
 
Best answer
Hello,

This is not possible to do it via scroll but you can do it if you click on a button to go from one tab to another.
In the OnClick method of the button, you simply pass a reference to your TabView, and use the TabView.SetPage method, to change the tab (by giving the index of the tab : 0, 1, 2...).

~ Yohan
Welcome to MaterialUI support! Ask us anything :)
...