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

Parameter Description TypeDefault
Location Specifies where notifications are displayed. NotificationLocationCenter
DefaultInterval Specifies the default time in milliseconds before a notification closes automatically. double?

Events

Event Description Type
Okayed Occurs after the user responds with the OK action. EventCallback
Closed Occurs after the notification closes. EventCallback

INotificationService

Events

Event Description Type
NotificationReceived Raised when a notification request is received by the provider. EventHandler<NotificationEventArgs>

Methods

Method DescriptionReturnParameters
Info Shows an informational notification. String and MarkupString overloads are available. Taskmessage, title = null, options = null
Success Shows a success notification. String and MarkupString overloads are available. Taskmessage, title = null, options = null
Warning Shows a warning notification. String and MarkupString overloads are available. Taskmessage, title = null, options = null
Error Shows an error notification. String and MarkupString overloads are available. Taskmessage, title = null, options = null
On this page