Skip to main content

Toast Service

The Toast Service provides way to trigger toast messages

Methods

createToast(message, options)

Description

  • Creates a toast message that will be displayed in a deck or presentation.

Return Value: null

Options:

  • message: String The message that will be displayed by the toast service.
  • options: Object The options for toast.
    // options object signature
{
duration: Number,
iconUrl: String,
onClick: Function
}

Code Example

    digideckCore.toastService.createToast(message, options);