Function: showNotification()
function showNotification(
message: string,
type?: string,
duration?: number | null,
options?: NotificationOptions
): Promise<void>;
Defined in: utils/ui/notifications/showNotification.ts:130
Shows a queued renderer notification with animations, optional action buttons, and per-type default durations.
Parametersβ
messageβ
string
Message to display.
type?β
string = "info"
Notification variant. Unknown strings fall back to info.
duration?β
number | null
Duration in milliseconds, or null for the type default.
options?β
NotificationOptions = {}
Additional display and interaction options.
Returnsβ
Promise<void>
Promise that resolves when this notification becomes visible.