Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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 KUMAR SHEELA pro asked 3 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 3 years ago


@phani.sheela@gmail.com You can find spinners documentation here: https://mdbootstrap.com/docs/angular/components/progress-bar/


PHANI KUMAR SHEELA pro commented 3 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 3 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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: 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