Closed akempes closed 6 years ago
Is this being pulled?
@akempes thank you for your contribution!
Sorry, how is this enabled? i added the showCloseBtn:true but nothing changes.
this.flashMessage.show('You are now logged in!', {cssClass: 'alert-success', timeout: 5000, showCloseBtn:true});
using: "angular2-flash-messages": "^2.0.4",
EDIT: SORRY! never mind! had to clean cache, and then it worked.... Thanks!
Hi,
I've added a (optional) close button as mentiond in #13. There is also an option to close the flash message by clicking on it. Both are configurable options and are false by default.
You can use it like this: