Calling modal component from external component


Topic: Calling modal component from external component

sujeet kumar asked 6 years ago

I have navbar component and I want to call Login Modal but its not working. Could you please help me in this. I am using Angular 6. Thanks in advance.

Arkadiusz Idzikowski staff answered 6 years ago

Dear sujeet kumar, You need to create service to communicate between your components. I described how to do that here: https://mdbootstrap.com/support/calling-modal-in-component-from-another-component/ Best, Arek
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
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No