Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Toast

Since 0.1.0-alpha.31
Draws one toast on the page, for previews and docs.

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

Properties (6)

StatusStatus = Status.InfoAdded in 0.1.0-alpha.31

What the message means; sets the icon. Defaults to Status.Info.

Titlestring?Added in 0.1.0-alpha.31

The bold first line.

ChildContentRenderFragment?Added in 0.1.0-alpha.31

The message, and any AlertActions written last in it.

VariantAlertVariant = AlertVariant.OutlineAdded in 0.1.0-alpha.31

How it's drawn. Defaults to AlertVariant.Outline, a raised card with a colored icon, as ToastRegion's are.

Dismissiblebool = trueAdded in 0.1.0-alpha.31

Shows the close button. Defaults to true, as every toast in a ToastRegion has one.

DismissLabelstring? = "Dismiss"Added in 0.1.0-alpha.31

The close button's 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.

Status

enum

The meaning of a piece of feedback: badges, and later alerts and toasts. Status colors are for telling people what happened, not for actions; see Accent.

Status values
ValueDescription
Neutral

No particular meaning (the default).

Info

Information, such as "New" or "Beta".

Success

Done or healthy, such as "Published".

Warning

Needs attention, such as "In review" or "Expiring".

Danger

Failed or blocked, such as "Error" or "Overdue".

Connection lost

Rejoining the server…