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

Snackbar / Toast Please add support for CSS Class #2664

Closed
naveedahmed1 opened this issue Jan 15, 2017 · 1 comment · Fixed by #2804
Closed

Snackbar / Toast Please add support for CSS Class #2664

naveedahmed1 opened this issue Jan 15, 2017 · 1 comment · Fixed by #2804
Assignees
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix

Comments

@naveedahmed1
Copy link

Snackbars are great to provide brief feedback about an operation through a message at the bottom of the screen.

It would be really nice if we could also add css class for a Snackbar. For example if the operation failed to complete we could display it in a different color (probably red) whereas in case of success, we could apply different styling (probably a snackbar in green color).

@naveedahmed1 naveedahmed1 changed the title Snackbar / Toast Please add support for class Snackbar / Toast Please add support for CSS Class Jan 15, 2017
@jelbourn jelbourn added the feature This issue represents a new feature or feature request rather than a bug or bug fix label Jan 25, 2017
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 25, 2017
Allows users to add extra CSS classes to the snack bar container via the `extraClasses` option.

Fixes angular#2664.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 31, 2017
Allows users to add extra CSS classes to the snack bar container via the `extraClasses` option.

Fixes angular#2664.
@kara kara closed this as completed in #2804 Feb 1, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants