How can I include side navbar when ngx-spinner is running? It only runs on the component where I put it

535 Views Asked by At
```<div><ngx-spinner bdColor = "rgba(0, 0, 0, 0.8)" size = "medium" color = "#fff" type = "ball-spin" [fullScreen]="true"><p style="color: white" > Loading... </p></ngx-spinner><mat-card>```

enter image description here

I need to run the ngx-spinner including the sidebar.

1

There are 1 best solutions below

0
On

Actually, it has a built-in function so we put it in app.component.html where we can access it from anywhere. Try to put it there.