SnackbarStack PushAsync Example #1605
Answered
by
stsrki
bastigerner
asked this question in
Q&A
-
Hey, I like the new idea of pusing a snackbar to a stack async! Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
stsrki
Dec 11, 2020
Replies: 1 comment 1 reply
-
It's pretty simple. <Button Color="Color.Success" Clicked="@(()=>snackbarStack.PushAsync("Some success message!", "Hello", SnackbarColor.Success, (options) => { options.CloseButtonIcon = IconName.Times; options.ActionButtonText = "OK"; }))">
Show Success message
</Button> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bastigerner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's pretty simple.