Top "Mat-tab" questions

How to use mat-tab? mat-tab is not a known element error

I am trying to use mat-tab. I have added the below code in html <mat-tab-group> <mat-tab label="…

angular typescript angular-material mat-tab
Mat-tab material angular6 selectedIndex doesn't work with *ngFor

I display several tabs with a loop ngFor using Angular Material tabs. This works properly however now I would like …

angular angular-material mat-tab
Material design data table layout with static data

How can I use the material design data table layout without a datasource (static data)? I can find no example …

angular angular-material material-design mat-tab
Is it possible to disable mat-tab animations with pure css

I want to disable the Angular Material mat-tab animation (the animation that occurs as the content slides into place). I …

css angular angular-material angular-animations mat-tab
Mat-tab-body-wrapper, cannot edit css (angular)

I can't change the mat tab body wrapper which seems to be limiting the size of my mat-tab. ex. .mat-tab-body-wrapper { …

angular angular-material mat-tab
Set no tab as default active tab on mat tab

I have search functionality implemented using mat-tab, I need no tab selected on initial load. Tab should get active only …

angular angular-material mat-tab
Angular Material Tab : Prevent tab change of mat-tab-group if the form in current tab is dirty

I was trying to prevent tab change of mat-tab, if the form in currently active tab is dirty. But I …

angular typescript angular-material mat-tab
How to conditionally prevent user from navigating to other tab in mat-tab-group

I have an angular component which uses an angular material tab group. <mat-tab-group> <mat-tab label="First"> &…

angular angular-material mat-tab
Nested Angular material tabs

I have a requirement for adding dynamic tabs to some User Preferences screen. The main preference tab can be a …

angular angular-material mat-tab
How to get mat-tab element by id in angular 6?

I am trying to get a mat-tab element with its id, but for some reason the command document.getElementById() returns …

angular6 getelementbyid mat-tab