Class

NotificationHandler

NotificationHandler(…props)

Handles all application notification shown to the user

Constructor

# new NotificationHandler(…props)

Default constructor. visibility is set to false by default. Controlled through state property "open"

Parameters:
Name Type Attributes Description
props NotificationHandlerProps <repeatable>

Props received so that the component can function properly.

View Source Components/NotificationHandler/NotificationHandler.jsx, line 26

Members

# handleClose

Hide the notification from the view.

View Source Components/NotificationHandler/NotificationHandler.jsx, line 61

# handleOpen

Show the notification to the view.

View Source Components/NotificationHandler/NotificationHandler.jsx, line 51

Methods

# componentDidUpdate()

If a new notification message is received, show it accordingly.

View Source Components/NotificationHandler/NotificationHandler.jsx, line 37

# render()

Render the notification to the dom.

View Source Components/NotificationHandler/NotificationHandler.jsx, line 71