Skip to content
Advertisement

How to close an Angular Bootstrap modal

I´m working with Angular 4, Firebase and Angular Bootstrap. I open the modal, which is a user form, and the idea is to close the modal as soon as the user logs in using one of the methods to login (google auth, Facebook auth or email and password auth). But I can’t find a way to close the modal when needed.

google auth

JavaScript

Modal html

JavaScript

Advertisement

Answer

Follow this step

JavaScript

ngx-bootstrap link here

Enjoy Happy codeing. Hopefully that helps!

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement