IGlobalMessagesService interface
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 |
Adds a new message banner to the displayed banners
function addBanner(banner: IGlobalMessageBanner)
Parameters
- banner
- IGlobalMessageBanner
The message banner to display
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
Displays or queues a Toast to display at the bottom of the page
function addToast(toast: IToast)
Parameters
- toast
- IToast
The toast to display
Closes the currently active global message banner
function closeBanner()
Closes the currently active global dialog
function closeDialog()