Reputation: 670
I am working on the Angular Material's Tabs Component (https://material.angular.io/components/tabs/overview)
By default, the first tab is selected after the page load.
How can I change to some another specific tab to already be selected when the page loads.
Upvotes: 5
Views: 10786
Reputation: 980
You can use [selectedIndex]="selectedIndex"
for your tab to specifically pick which tab to be display
Upvotes: 13