Skip to content
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

Listener to Esc button #2

Open
matyas-igor opened this issue Nov 18, 2014 · 2 comments
Open

Listener to Esc button #2

matyas-igor opened this issue Nov 18, 2014 · 2 comments

Comments

@matyas-igor
Copy link

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

@bradyclifford
Copy link

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

@bradyclifford
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants