Questions tagged [angular2-md-tabs]
8 questions
5
votes
1 answer
Mat-tab click event
I am using angular universal with angular material 2, and therefore I have only managed to get clicks to work (as far as user events is concerned). Is it possible to attacth a (click) attribute from a tab to change the index and pull dynamic data.…

Fernando Ania
- 368
- 1
- 6
- 20
4
votes
1 answer
Md-menu closes after clicking md-tab inside
I built an md-menu with an md-tab-group inside, using Angular Material 2. On each md-tab I display a different list. The behavior I'm expecting to see is that the user to be able to switch between tabs and the md-menu to stay opened.
The thing is…

Emanuela Colta
- 2,129
- 4
- 18
- 31
3
votes
3 answers
Angular-2-material mat-ink-bar not on default tab
I am trying to lay out tabs on my website and I am using md-tab-group to achieve this. I am unable to get the ink-bar to be on the default but however, the content written on the respective tab is available. The ink-bar appears on click and not on…

chaitanya guruprasad
- 641
- 7
- 18
2
votes
0 answers
Angular Material 2 Tab Links unable to set default active tab
After a successful login on the login page, the route changes to the "inbound" view, which has two tabs in the navbar, "inbound" and "outbound". I'd like for the "inbound" navtab to be already selected to reflect the state of the router. However,…

tyler2cr
- 73
- 1
- 1
- 9
0
votes
0 answers
Can a disappearing be put between two ?
I've tried to put a disappearing div between two md-tabs, but it doesn't seem to appear when the md-tab is pressed.
The disappearing div code works in a separate program but it doesn't seem to appear the way it's meant to when placed between two…
CupOfJava
- 441
- 1
- 5
- 15
I've tried to put a disappearing div between two md-tabs, but it doesn't seem to appear when the md-tab is pressed.
The disappearing div code works in a separate program but it doesn't seem to appear the way it's meant to when placed between two…

CupOfJava
- 441
- 1
- 5
- 15
0
votes
1 answer
Scroll to the last tab after adding a new tab in Angular Material Md-tabs
I have an implementation where I have the ability to add new md-tabs. The tabs are lying horizontally like a menu. When I click on the "add tab" button, the md-tabs should scroll to the last one(to the newly added one). How to achieve this?

Sh_88
- 21
- 1
- 6
0
votes
1 answer
Angular Material 2 unable to set default active tab
Below code is taken from material.angular.io:

joriber
- 5
- 6
0
votes
0 answers
Dynamic changing of mg-tab
Dynamic changing of tabs is realised with attribute md-selected="selectedTab". Function in controller change selectedTab. It works perfectly while I not changing tabs manually, or put a default value of (selectedTab = 1).

igor_d
- 1
- 1