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