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: MdbModalContainerComponent

ammi pro asked 2 years ago


in mdb4 we could have a simple modal on the same template with the main page and we could interact with it using ModalDirective. How could it be done in MDB5? I can't find ModalDirective in MDB5. Also, what is MdbModalContainerComponent which I found in MDB5? Do you have any examples how to use it? Thank you.


Arkadiusz Idzikowski staff answered 2 years ago


ModalDirective is not available in MDB5. In MDB5 you need to use a service as explained in our documentation: https://mdbootstrap.com/docs/angular/components/modal/

MdbModalContainerComponent is a component we use internally to render modal content when the service open method is called. It is not possible to use this component directly in your application.



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: MDB5 3.0.0
  • Device: Desktop
  • Browser: Chrome
  • OS: W10
  • Provided sample code: No
  • Provided link: No