-
Notifications
You must be signed in to change notification settings - Fork 162
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
IgxToast show
should take a message param
#7156
Comments
@grosch , the feature request is in the list for the current milestone. You could follow the milestone progress on the Roadmap board or in the Roadmap file |
Hello @grosch, with 9.1.0 we've added a functionality for displaying various content into the toast component through content projection. You can now place your message or any html element in the toast content which gives you more powerful and diverse way of toast content handling. Given that, I wanted to let you know that we are not planning to add a We are going to update the official topic as well in order to address that change. |
That's doesn't really accomplish anything different though. So now I'll put a variable in the toast part of the HTML, but I still have to then take two steps to display it. I set the value, and then I call show. If I only have one message the toaster would display what you're doing help. However, when it's a reusable item, which can display multiple messages depending on state, I'm still at a two step process. |
I understand your point, we always strive to have simple and clear API, trying to limit having a couple of ways to achieve equivalent functionalities. After further discussion with @radomirchev we've decided to add this capability. Adding this FR to the next sprint. |
Hey @grosch, the new functionality will be available with the next product release 10.0.3. |
It's pretty common to use one IgxToast but want to support multiple messages. Instead of having to do this:
it would be nicer to just do
The text was updated successfully, but these errors were encountered: