Skip to content

[Updated] Md-Tabs - Navigate Options & Count Tabs #2685

Description

@Ganim

Bug, feature request, or proposal:

Feature request

What is the expected behavior?

#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?

@angular/material: 2.0.0-beta.1

Metadata

Metadata

Assignees

Labels

featureLabel used to distinguish feature request from other issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions