Blazorise Alert API

Explore the Blazorise Alert API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Alert documentation.

API

Parameters

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this Alert.

RenderFragmentnull
Color

Specifies the alert color.

Colornull
Dismisable

Enables the alert to be closed by placing the padding for close button.

boolfalse
Intent

Specifies the alert intent.

Intentnull
Visible

Sets the alert visibility.

boolfalse

Events

Event Description Type
VisibleChanged

Notifies when the alert visibility state changes.

EventCallback<bool>

Methods

Method DescriptionReturnParameters
Hide Conceals the alert from the user. Task
Show Displays the alert to the user. Task
Toggle Toggles the visibility of the alert. Task
On this page