I'm using angular material with angular5 and angular flex-layout, and I was looking for a similar full screen overlay window angular component, but it seems like they didn't implement a one yet, and since I prefer consuming time on working on functionality rather than accessory component, I decided to ask you guys to share an example about it in "angular way" (if you already coded it).
2 Answers
5
votes
You can use MatDialog and make it full screen by including MatDialogConfig properties:
width: '100vw',
height: '100vh',
maxWidth: '100vw',
maxHeight: '100vh',
hasBackdrop: false,
See example.
-1
votes
You can refer to this site.
It provides screenoverlay along with multiple type of spinners. Moreover if you want to close the screen overlay then refer to this stackblitz which implements the above screen overlay.
mat-dialogto see how they've implemented it. - joh04667