Topic: I am looking for loading a spinner on every component or a modal window. Can you please point me to a code sample?
phani.sheela@gmail.com pro asked 4 years ago
I am looking for loading a spinner on every component or a modal window. Can you please point me to a code sample?
Arkadiusz Idzikowski staff answered 4 years ago
@phani.sheela@gmail.com You can find spinners documentation here: https://mdbootstrap.com/docs/angular/components/progress-bar/
phani.sheela@gmail.com pro commented 4 years ago
@Arkadiusz Idzikowski - I have already reviewed this documentation but it is not working, I want to show Progress bar on top of a specific component. I don't see any example there.
I have a component, while it is loading it is required to show a spinner as a overlay...How do I achieve that?
Arkadiusz Idzikowski staff commented 4 years ago
@PHANI KUMAR SHEELA you need to create 2 elements and use the Angular ngIf
directive to show/hide these elements when a certain condition is met.
You can read more about ngIf
in the official Angular documentation: https://angular.io/api/common/NgIf
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 10.1.1
- Device: Windows
- Browser: Chrome/edge
- OS: Windows 10
- Provided sample code: No
- Provided link: No