@elemental/ui / Class

LmnToastService

Decorators:@Injectable
Implements:OnDestroy

No documentation has been provided.

Accessors

set defaultConfiguration

Setter method for the default configuration of the toast.

Presentation
set defaultConfiguration(defaultConfiguration: LmnToastDefaultConfiguration);
Type

LmnToastDefaultConfiguration

set maxNumberOfToasts

Setter method for the max number of toast.

Presentation
set maxNumberOfToasts(numberOfToast: number);
Type

number

set parent

Setter method for the parent element of the toast containers.

Presentation
set parent(parent: HTMLElement);
Type

HTMLElement

Methods

showToast()

Show the toast notification.

Presentation
showToast(configuration: LmnToastConfiguration): void;
Parameters
NameTypeDescription
configuration
LmnToastConfiguration

@param configuration

Returns
void