Szerkesztés

Megosztás a következőn keresztül:


IGlobalMessagesService interface

Methods

addBanner(IGlobalMessageBanner)

Adds a new message banner to the displayed banners

addDialog(IGlobalDialog)

Adds a new dialog to the displayed dialogs. CornerDialog or CustomDialog can be added

addToast(IToast)

Displays or queues a Toast to display at the bottom of the page

closeBanner()

Closes the currently active global message banner

closeDialog()

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()