IGlobalMessagesService interface
Methods
add |
Adds a new message banner to the displayed banners |
add |
Adds a new dialog to the displayed dialogs. CornerDialog or CustomDialog can be added |
add |
Displays or queues a Toast to display at the bottom of the page |
close |
Closes the currently active global message banner |
close |
Closes the currently active global dialog |
Method Details
addBanner(IGlobalMessageBanner)
Adds a new message banner to the displayed banners
function addBanner(banner: IGlobalMessageBanner)
Parameters
- banner
- IGlobalMessageBanner
The message banner to display
addDialog(IGlobalDialog)
Adds a new dialog to the displayed dialogs. CornerDialog or CustomDialog can be added
function addDialog(dialog: IGlobalDialog)
Parameters
- dialog
- IGlobalDialog
The dialog to display
addToast(IToast)
Displays or queues a Toast to display at the bottom of the page
function addToast(toast: IToast)
Parameters
- toast
- IToast
The toast to display
closeBanner()
Closes the currently active global message banner
function closeBanner()
closeDialog()
Closes the currently active global dialog
function closeDialog()