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: StringThe message that will be displayed by the toast service.options: ObjectThe options for toast.
// options object signature
{
duration: Number,
iconUrl: String,
onClick: Function
}
Code Example
digideckCore.toastService.createToast(message, options);