-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use bootstrap alerts? #36
Comments
Do it the angular way... Make a component for a modal @component({ protected Visible: Boolean = false; protected Show(options: ngxModalOption, modalClass: string): BsModalRef {
} @input() @input() @input() @input() @input() @input() modalRef: BsModalRef; constructor(private modalService: BsModalService) { } export interface ngxModalOption { {{Title}}×{{Content}}
close
|
I was writimg this on a phone :p |
@hozjanmarko Is this code gonna generate modals or notification alerts? |
Modals... If are looking for a notification service, you could use ng2-toasty, dont forget to add the css of the package to the styles sectio of angular cli json |
Thanks, I'm going with https://github.com/scttcper/ngx-toastr. |
Your current documentation shows how to use bootstrap alerts with Jquery only. How can they be used in Angular2+?
The text was updated successfully, but these errors were encountered: