new bcdui.widget.notifications.Notificator(args)
widget/notification/notificationsWidgetPackage.js, line 29
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args |
Object |
Parameter object
|
Methods
-
addMessage(message, type, anchorId)
widget/notification/notificationsWidgetPackage.js, line 76 -
adds a message to notificator and displays notificator if appropriate
Name Type Default Description message
string The message you want to display type
string INFO optional The type of the message, use WARN or INFO anchorId
string optional If given the message will contain a link to that anchor) -
displayNotificationBar()
widget/notification/notificationsWidgetPackage.js, line 107 -
displays notification bar rendering messages in the queue
-
hideNotificationBar()
widget/notification/notificationsWidgetPackage.js, line 146 -
hides notification bar
-
removeAllMessages()
widget/notification/notificationsWidgetPackage.js, line 99 -
removes all messages and hides notification window
-
showNotificationBar()
widget/notification/notificationsWidgetPackage.js, line 153 -
shows notification bar