Components

NotificationMenu

<NotificationMenu />

Constructor

# <NotificationMenu />

This component is in charge of displaying the notification menu

View Source frontend/siinc-tv/src/components/notifications/notificationMenu.js, line 69

Methods

# inner buildNotificationByType(notification)

Creates notification according to its type
Parameters:
Name Type Description
notification *

View Source frontend/siinc-tv/src/components/notifications/notificationMenu.js, line 83

# inner clearAllNotifications()

Clears all clearable notifications from user

View Source frontend/siinc-tv/src/components/notifications/notificationMenu.js, line 154

# inner clearNotification(id)

Clears notification with given id
Parameters:
Name Type Description
id String

View Source frontend/siinc-tv/src/components/notifications/notificationMenu.js, line 147

# inner mapNotifications()

Maps all notifications to their correct type

View Source frontend/siinc-tv/src/components/notifications/notificationMenu.js, line 161