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

[QUESTION] Custom class for toast service #829

Closed
erzzo opened this issue Sep 26, 2017 · 2 comments
Closed

[QUESTION] Custom class for toast service #829

erzzo opened this issue Sep 26, 2017 · 2 comments

Comments

@erzzo
Copy link

erzzo commented Sep 26, 2017

Hi,
I wanted to use the ToastService to show different types of messages: success, failed, info.
Therefore I need to add a custom class to every toast to change the text color or background.

Is there a way of implementing it? I've seen the material guidelines and there is a default bg color for that, but...

I'm relatively new to the Ember community, but I think when it's not possible I can write my own service for that.

Thanks for the reply!

@miguelcobain
Copy link
Collaborator

@erzzo support for this was added now on master through the #820 PR.

@erzzo
Copy link
Author

erzzo commented Sep 27, 2017

@miguelcobain great!

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