Skip to content
IzzyBlazor 0.1.0-alpha.17

Enter all results ↑ ↓ move Esc close

ToastRegion

Toasts from any render mode, even across a redirect.

IzzyBlazor.ToastRegion in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly and its doc comments.

Properties (5)

PlacementToastPlacement = ToastPlacement.BottomEnd

Where toasts stack. Defaults to ToastPlacement.BottomEnd.

Durationint = 5000

Milliseconds before a toast closes itself (with JavaScript). Defaults to 5000; 0 keeps toasts open.

VariantAlertVariant = AlertVariant.Outline

How 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

enum

How an Alert or toast is drawn.

AlertVariant values
ValueDescription
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

enum

Where a ToastRegion stacks its toasts. Start and End follow the reading direction.

ToastPlacement values
ValueDescription
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).