angular-inform
angular-inform copied to clipboard
Listener to Esc button
Also it will be very cool add a listener to Esc button press event to close the latest message
Add the ability to click the toaster and have it close. This could be a default set in the config.
Add additional configuration settings similar to what is found in https://github.com/Foxandxss/angular-toastr.
Some examples:
- closeButton: Whether to display an "X" close button on the toast.
- closeHtml: Html element to be used as a close button.
- extendedTimeOut: The timeout after you hover a toast.
- newestOnTop: Add new toasts on top of the old one. Put on false to put them on the bottom.
- onHidden: A callback function called when a toast gets hidden.
- onShown: A callback function called when a toast is shown.
- tapToDismiss: Whether the toast should be dismissed when it is clicked.