Skip to main content
All docs
V24.1

IToastNotificationService.ShowToast Method

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