entryComponents
from all NgModule declarations...No component factory found for SnackbarComponent. Did you add it to @NgModule.entryComponents?
$muted-color : rgba(0,0,0,0.6);
, and would like to use something that's part of the theme and color pallatte is such thing exists.
We'd like to add a data attribute to a mat-tab:
<mat-tab label="The Thing" data-test-id="the-thing-tab">
<other-stuff />
</mat-tab>
The data-test-id
attribute doesn't end up anywhere inside the html generated by the mat-tab
component - is there a way I'm missing to get data attributes onto material tabs?
pink-bluegrey
and I'm trying to reference the "list highlight" background color so that I can style table rows to also be navigatable. But for the life of me, I can't figure out how to reference an existing color in my themes.scss
??
@BojanKogoj
The problem is your button gets "destroyed" after clicking
Got it! How can I fix this?
And adding loading spinner to a button seems a bit odd
In my stackblitz demo, you don't have the complete behavior. I focused the code on the problem. But the idea is that the user clicks on a button that has a long action and in the meantime the button will be disabled and with a loading. The effect looks like this:
https://mat-progress-buttons.firebaseapp.com/home