Skip to main content

notify

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/charts/core/renderChartNotificationHelpers / notify

Function: notify()

notify(message: string, type?: NotificationType, duration?: number | null, options?: RenderChartNotificationOptions): Promise<void>

Defined in: utils/charts/core/renderChartNotificationHelpers.ts:72

Lazily sends chart notifications without forcing notification modules into the renderer import graph during test and SSR-style module evaluation.

Parameters​

message​

string

type?​

NotificationType = "info"

duration?​

number | null

options?​

RenderChartNotificationOptions = {}

Returns​

Promise<void>