Angular Material Sliding Tabs

2019-06-11 02:02发布

问题:

I want to create sliding tabs with angular material tabs. I could do this by using $interval and change the index. I'm not sure that is right way. Any help about the right way would be appreciated.

Edit: An Example

回答1:

It seems, to do it with $interval is most suitable approach.

Autoplay for md-tabs example.