ConstDisplays a notification toast.
Supports two call signatures:
notify(message, type, duration) — positional, e.g. notify("OK", "success", 3000)notify(message, options) — options object, e.g. notify("OK", { type: "success", duration: 3000 })Text to display.
OptionaltypeOrOptions: NotifyType | NotifyOptionsNotification type ("info" | "success" | "warning" | "error") or options object.
Optionalduration: numberAuto-dismiss duration in ms (only when typeOrOptions is a string).
The toast element (null if rejected, undefined if uninitialised).
Displays a notification toast. Alias of Notifications.notify, kept because
the renderer, the legacy GeoLeaf.UI.showNotification surface and the plugin
documentation all name this method — calling it used to hit undefined and fail
silently.
Text to display.
OptionaltypeOrOptions: NotifyType | NotifyOptionsNotification type or options object.
Optionalduration: numberAuto-dismiss duration in ms (only when typeOrOptions is a string).
The toast element (null if rejected, undefined if uninitialised).
Displays a success toast.
Text to display.
Optionaloptions: number | NotifyOptionsOptional duration (ms) or options object.
The toast element (null if rejected, undefined if uninitialised).
Displays an error toast (highest priority, longest default duration: 5 s).
Text to display.
Optionaloptions: number | NotifyOptionsOptional duration (ms) or options object.
The toast element (null if rejected, undefined if uninitialised).
Displays a warning toast.
Text to display.
Optionaloptions: number | NotifyOptionsOptional duration (ms) or options object.
The toast element (null if rejected, undefined if uninitialised).
Displays an informational toast.
Text to display.
Optionaloptions: number | NotifyOptionsOptional duration (ms) or options object.
The toast element (null if rejected, undefined if uninitialised).
Returns a snapshot of the current notification system state. Useful for debugging or building custom status indicators.
Current system status.
Public Notifications namespace.
Delegates all calls to the internal
_UINotificationssingleton (initialized during the toast-renderer capability lifecycle).Available as a named ESM export
{ Notifications }from@geoleaf/core.