-
Notifications
You must be signed in to change notification settings - Fork 102
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
Allow custom toast types #95
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a ...
[ ] bug report
[X] feature request
[ ] question about the decisions made in the repository
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
The creation of toasts is limited to pre-defined types
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar.
What is the expected behavior?
I would like to create my own types of toasts
What is the motivation / use case for changing the behavior?
I want to have custom icons for some toasts
Please tell us about your environment:
The easiest way to implement custom types (as far as I understand the code) would be to make the 'add' method in toastyService public. The type that is passed as a parameter is appended directly to the toasts css class and I can easily define my own css for that.
The text was updated successfully, but these errors were encountered: