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 messagestring The message you want to display typestring INFO optional The type of the message, use WARN or INFO anchorIdstring 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 135 -
hides notification bar
-
removeAllMessages()
widget/notification/notificationsWidgetPackage.js, line 99 -
removes all messages and hides notification window
-
showNotificationBar()
widget/notification/notificationsWidgetPackage.js, line 142 -
shows notification bar