MatBlazor - Material Design components for Blazor and Razor Components
22

MatSnackbar

Snackbars provide brief messages about app processes at the bottom of the screen.

Name Type Description
ChildContent RenderFragment Child content of MatSnackbar
Class String Specifies one or more classnames for an DOM element.
IsOpen Boolean
IsOpenChanged EventCallback<Boolean>
Leading Boolean
Stacked Boolean
Style String Specifies an inline style for an DOM element.
Ref ElementRef Returned ElementRef reference for DOM element.
MatSnackbarContent
Name Type Description
ChildContent RenderFragment Child content of MatSnackbarContent
Class String Specifies one or more classnames for an DOM element.
Style String Specifies an inline style for an DOM element.
Ref ElementRef Returned ElementRef reference for DOM element.
MatSnackbarActions
Name Type Description
ChildContent RenderFragment Child content of MatSnackbarActions
Class String Specifies one or more classnames for an DOM element.
Style String Specifies an inline style for an DOM element.
Ref ElementRef Returned ElementRef reference for DOM element.
Example
Snackbar is open: False
Can't send photo. Retry in 5 seconds.
This item already has the label "travel". You can add a new label.
Your photo has been archived.
If you like MatBlazor, please put a star on GitHub.