File

src/lib/inbox/services/inbox-notification.service.ts

Description

Service for opening a notification.

Index

Methods

Methods

open
open(message: string, icon: string, autoDismiss: boolean, duration: number, level: TNotificationLevel)

Opens a notification.

Parameters :
Name Type Optional Default value Description
message string No

The message to display.

icon string No 'notifications'

The icon to display.

autoDismiss boolean No true

Whether the notification should be dismissed automatically.

duration number No 3

The duration of the notification in seconds.

level TNotificationLevel No 'info'

The level of the notification.

Returns : void

results matching ""

    No results matching ""