Skip to main content

Function: notify()

function 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>