angular-inform icon indicating copy to clipboard operation
angular-inform copied to clipboard

Listener to Esc button

Open matyas-igor opened this issue 10 years ago • 2 comments

Also it will be very cool add a listener to Esc button press event to close the latest message

matyas-igor avatar Nov 18 '14 13:11 matyas-igor

Add the ability to click the toaster and have it close. This could be a default set in the config.

bradyclifford avatar Mar 17 '15 23:03 bradyclifford

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.

bradyclifford avatar Mar 17 '15 23:03 bradyclifford