Open Yomodo opened 2 years ago
Enhance component
Snackbar
The Snackbar.Configuration.PositionClass is not available for individual Snackbars.
Snackbar.Configuration.PositionClass
if (firstRender) { Snackbar.Configuration.PositionClass = Defaults.Classes.Position.BottomCenter; _snackbar = Snackbar.Add("...", configure: config => { config.Icon = Icons.Material.Filled.HourglassTop; config.ShowCloseIcon = true; config.RequireInteraction = true; }); }
I would like to specify it as part of the configure options:
configure
_snackbar = Snackbar.Add("...", configure: config => { ... config.PositionClass = Defaults.Classes.Position.BottomCenter; });
No response
Any news?
Feature request type
Enhance component
Component name
Snackbar
Is your feature request related to a problem?
The
Snackbar.Configuration.PositionClass
is not available for individual Snackbars.Describe the solution you'd like
I would like to specify it as part of the
configure
options:Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request
Code of Conduct