Variable NotificationsConst
Notifications: {
notify(message: string, typeOrOptions?: NotifyType | NotifyOptions, duration?: number): void;
success(message: string, options?: number | NotifyOptions): void;
error(message: string, options?: number | NotifyOptions): void;
warning(message: string, options?: number | NotifyOptions): void;
info(message: string, options?: number | NotifyOptions): void;
dismiss(toastEl: HTMLElement): void;
clearAll(): void;
getStatus(): NotifyStatus;
} = ...
Type declaration
notify:function
- notify(message, typeOrOptions?, duration?): void
Parameters
- message: string
OptionaltypeOrOptions: NotifyType | NotifyOptionsOptionalduration: number
Returns void
success:function
- success(message, options?): void
Parameters
- message: string
Optionaloptions: number | NotifyOptions
Returns void
error:function
- error(message, options?): void
Parameters
- message: string
Optionaloptions: number | NotifyOptions
Returns void
warning:function
- warning(message, options?): void
Parameters
- message: string
Optionaloptions: number | NotifyOptions
Returns void
info:function
- info(message, options?): void
Parameters
- message: string
Optionaloptions: number | NotifyOptions
Returns void
dismiss:function
- dismiss(toastEl): void
Returns void
clearAll:function
- clearAll(): void
Returns void
getStatus:function
- getStatus(): NotifyStatus
Returns NotifyStatus
Current system status.
Public Notifications namespace.
Delegates all calls to the internal
_UINotificationssingleton (initialized during the GeoLeaf boot sequence).Available as
GeoLeaf.Notificationsafter the core is initialized, and as a named ESM export{ Notifications }from@geoleaf/core.