Class ecm.widget.Toaster

Provides a widget that is used as a temporary notification window in the user interface.

This class extends the Dojo dojox.widget.Toaster class to provide Carbon look and feel.


Defined in: <ecm\widget\Toaster.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
 
hide()
 
 
 
setContent(message, messageType, duration, title, actionLabel, actionCallback)
Displays the given message message: (String) the message.

Constructor Detail

ecm.widget.Toaster()

Method Detail

capitalize(str)

Parameters:
str

hide()


onClickActionButton()


onCloseButton()


setContent(message, messageType, duration, title, actionLabel, actionCallback)

Displays the given message message: (String) the message. messageType: (String) the type of message; possible values in messageTypes enumeration ("info", "success", "warning", "error") duration: (int) time, in milliseconds, to display the message before removing it. Widget has default value. title: (String) the message title actionLabel: (String) the action link label actionCallback: (String) the action function to call when a user clicks on the link
Parameters:
message
messageType
duration
title
actionLabel
actionCallback