Skip to content

charton API


charton API / @chart-on/core / index / NotifyEvent

Interface: NotifyEvent ​

Defined in: packages/core/src/chart.ts:907

The ui:notify payload: the notification with its defaults filled in.

Properties ​

defaultPrevented ​

readonly defaultPrevented: boolean

Defined in: packages/core/src/chart.ts:913


durationMs ​

durationMs: number

Defined in: packages/core/src/chart.ts:910


kind ​

kind: NotificationKind

Defined in: packages/core/src/chart.ts:909


message ​

message: string

Defined in: packages/core/src/chart.ts:908

Methods ​

preventDefault() ​

preventDefault(): void

Defined in: packages/core/src/chart.ts:912

Stop the UI package's toast, e.g. to show the message your own way.

Returns ​

void