Skip to main content
All docs
V24.1

IToastNotificationService Members

Allows you to manage toast notifications in code.

Methods

Name Description
CloseToast(String) Closes a toast notification with the specified identifier.
ShowToast(ToastOptions, RenderFragment) Creates and shows a toast notification with the specified options and a template.
ShowToast(ToastOptions) Creates and shows a toast notification with the specified options.
ShowToast(String) Shows a toast notification declared in markup with the specified identifier.
ShowToast<T>(ToastOptions) Creates and shows a toast notification with the specified options and a template.
See Also