You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose the ability to associate custom actions with the close button of MudSnackbar.
For example:
privatevoidShowMessage(){message= Snackbar.Add("Message", configure:config =>{ config.RequireInteraction =true; config.ShowCloseIcon =true; config.OnClose =OnClose;});}privatevoidOnClose(){// Actions to perform when the user dismisses the message}
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
Custom RenderFragment with custom close button
config.ShowCloseIcon = false
handling closing manually.
Pull Request
I would like to do a Pull Request
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
👋 Thanks for wanting to do a PR @BieleckiLtd !
We suggest that you wait for an answer from @MudBlazor/contribution-team @MudBlazor/core-team . Otherwise we can not guarantee that your PR will be merged. As the library grows, we have to be very strict what PRs we can accept.
Feature request type
Enhance component
Component name
MudSnackbar
Is your feature request related to a problem?
No response
Describe the solution you'd like
I propose the ability to associate custom actions with the close button of MudSnackbar.
For example:
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
config.ShowCloseIcon = false
Pull Request
Code of Conduct
The text was updated successfully, but these errors were encountered: