Blazorise Notification Service API

Review the provider component and service methods used to display application notifications.

For setup instructions and examples, see the Notification Service documentation.

API

NotificationProvider

Parameters

ParameterDefaultType
LocationCenterNotificationLocation

Specifies where notifications are displayed.
DefaultInterval—double?

Specifies the default time in milliseconds before a notification closes automatically.

Events

EventType
OkayedEventCallback

Occurs after the user responds with the OK action.
ClosedEventCallback

Occurs after the notification closes.

INotificationService

Events

EventType
NotificationReceivedEventHandler<NotificationEventArgs>

Raised when a notification request is received by the provider.

Methods

MethodReturnParameters
InfoTaskmessage, title = null, options = null

Shows an informational notification. String and MarkupString overloads are available.
SuccessTaskmessage, title = null, options = null

Shows a success notification. String and MarkupString overloads are available.
WarningTaskmessage, title = null, options = null

Shows a warning notification. String and MarkupString overloads are available.
ErrorTaskmessage, title = null, options = null

Shows an error notification. String and MarkupString overloads are available.
On this page