ammi pro asked 2 weeks 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.
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.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: 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