Topic: how to implement modals with my own method?
                  
                  Janis Leicis
                  free
                  asked 7 years ago
                
                can someone can show example, how to implement modals with my methods? not name.show, but for example my method name (click)=\\\"OpenDialog()\\\". What I have to write in my typescript component to show modals on click?
                
                  
                
                
                
              
              
            FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Resolved
Specification of the issue
              - ForumUser: Free
 - Premium support: No
 - Technology: MDB Angular
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No
 
Tags
                  
Damian Gemza staff commented 7 years ago
Dear Janis, You have to import modal.directive.ts file in your component file, and then on click or other event use show() method. Best Regards, Damian