Skip to main content

showNotification

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/ui/notifications/syncRendererNotifications / showNotification

Function: showNotification()

showNotification(message: string, type?: NotificationType, timeout?: number, timerRuntime?: NotificationTimerRuntime, notificationRuntime?: SyncRendererNotificationsRuntime): void

Defined in: utils/ui/notifications/syncRendererNotifications.ts:69

Displays a notification message in the UI with state tracking.

Parameters​

message​

string

type?​

NotificationType = "error"

timeout?​

number = 5000

timerRuntime?​

NotificationTimerRuntime = ...

notificationRuntime?​

SyncRendererNotificationsRuntime = ...

Returns​

void