ISnackbar
MudBlazor-compatible snackbar contract. Snackbar.Add("msg", Severity.Success) stays working.
Properties
Section titled “Properties”Currently visible toasts.
Methods
Section titled “Methods”Add(string, Severity, Action<SnackbarOptions>)
Section titled “Add(string, Severity, Action<SnackbarOptions>)”Queue a new toast.
Clear()
Section titled “Clear()”Remove all toasts.
Remove(SnackbarMessage)
Section titled “Remove(SnackbarMessage)”Remove a specific toast.
Events
Section titled “Events”OnChange
Section titled “OnChange”Raised whenever the visible set changes so a provider can re-render.