You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1 - I would like to change tabs by buttons, #2 - count how many tabs I have.
What is the current behavior?
tabsNumber = document.getElementsByTagName('md-tab').length;
Doesn´t work to count tabs. If i don´t know how tabs I have, a can´t limite the "Next" Button
What is the use-case or motivation for changing an existing behavior?
Thats a way to navigate better the tabs, and a way to do a multi step form.
Which versions of Angular, Material, OS, browsers are affected?
Activity
[-]Tabs - next-back button & Count Tabs[/-][+][Updated] Md-Tabs - Navigate Options & Count Tabs[/+]Ganim commentedon Jan 18, 2017
[Updated] - Use the template question form, sorry by changed this before.
andrewseguin commentedon May 31, 2017
Here's an example of (1) changing the tabs using buttons and (2) counting how many tabs there are using a ViewChildren query.
http://plnkr.co/edit/cyb5sRINXprP0pwXsCmB?p=preview
Please feel free to open the issue if you find a bug or missing feature
angular-automatic-lock-bot commentedon Sep 5, 2019
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.