Class

NgxToast

NgxToast#NgxToast(optionsopt)

Constructor

# new NgxToast(optionsopt)

Merges the provided options with the default toast configuration so all subsequent notifications share the same baseline settings.

Creates a toast helper instance.

Parameters:
Name Type Attributes Default Description
options Partial.<ToastOptions> <optional>
{}

Custom toast options to merge with defaults

View Source lib/utils/NgxToast.ts, line 86

NgxToast#NgxToast(optionsopt)

Constructor

# new NgxToast(optionsopt)

Merges the provided options with the default toast configuration so all subsequent notifications share the same baseline settings.

Creates a toast helper instance.

Parameters:
Name Type Attributes Default Description
options Partial.<ToastOptions> <optional>
{}

Custom toast options to merge with defaults

View Source lib/utils/NgxToast.ts, line 252