entryComponentsfrom 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>
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-bluegreyand 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
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:
ngStyles, angular has control when to inject those styles.
[style.height]=“600px”. To apply multiple styles, https://angular.io/api/common/NgStyle is the current recommendation.
i'm using angular material and mat-table. i'm trying to use a form array on it, but i just keep getting errors saying it can't find the control.
if i click the response or correct fields, it loads one or 2 more but i still get spammed in the console.
here's the relevant part of the html: https://summers.codes/buzuditeba.html
and here's the typescript file (warning: it's really long):