ToastRegion
IzzyBlazor.ToastRegion in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (5)
PlacementToastPlacement = ToastPlacement.BottomEndWhere toasts stack. Defaults to ToastPlacement.BottomEnd.
Durationint = 5000Milliseconds before a toast closes itself (with JavaScript). Defaults to 5000; 0 keeps toasts open.
VariantAlertVariant = AlertVariant.OutlineHow toasts are drawn. Defaults to AlertVariant.Outline, a raised card with a colored icon.
Labelstring? = "Notifications"The region's name for screen readers. Defaults to "Notifications".
DismissLabelstring? = "Dismiss"The close buttons' accessible name. Defaults to "Dismiss".
Events (0)
No events.
Types (2)
AlertVariant
enumHow an Alert or toast is drawn.
| Value | Description |
|---|---|
Soft | A tinted background with a matching border (the default). |
Outline | A border in the status color on the page surface. |
Solid | A solid status-colored background. |
ToastPlacement
enumWhere a ToastRegion stacks its toasts. Start and End follow the reading direction.
| Value | Description |
|---|---|
TopStart | Top corner on the start side. |
TopCenter | Top center. |
TopEnd | Top corner on the end side. |
BottomStart | Bottom corner on the start side. |
BottomCenter | Bottom center. |
BottomEnd | Bottom corner on the end side (the default). |