components icon indicating copy to clipboard operation
components copied to clipboard

docs-bug(mat-tab-nav): "selectedIndex" does not exist

Open keithguerin opened this issue 6 years ago • 2 comments

Documentation Feedback

Affected documentation page: https://material.angular.io/components/tabs/api Issue: mat-tab-nav-bar has a documented "selectedIndex" attribute, but it does not appear to exist.

I ran into the issue and then found a fix at https://stackoverflow.com/questions/50349155/selectedindex-is-not-working-for-mat-tab-nav-bar-angular-material-tabs

keithguerin avatar May 18 '20 06:05 keithguerin

The docs are correct. Note that the selectedIndex isn't marked as an Input which means you can't bind to it.

crisbeto avatar May 18 '20 15:05 crisbeto

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.