Questions tagged [mat-dialog]
145 questions
2
votes
0 answers
How can I use material dialog as web-component to use it in the angular app
I am trying to make a material dialog as a web-components using angular elements.
Opening a dialog in angular material needs to know the name of the dialog component DialogComponent.
For eg.
openDialog(): void {
const dialogRef =…

surazzarus
- 772
- 5
- 17
- 32
2
votes
2 answers
Angular: Component scss styles not applied to tags supplied to [innerHTML] of div?
I've got a MatDialog which is supplied with an HTML string by its parent when it's constructed. The HTML string is the source of a named div's content, and contains tags embedded within the html, but for some reason the table style defined…