Awaken Scripting User Guide

Please email helpdesk@awaken.io for omissions or errors.
×
Menu

Toast Remove

 
The Toast Remove allows the simple removal of created Toast notifications.
 
This control is part of the Intermediate control pack, and will only be available if you have the appropriate licence part.
 
 

How To

Add a Toast Remove to the Workflow Page. The control's options and style can be configured in the Options and Styling tabs of the Field Properties.
 
The Toast Remove has one unique option available in its Options tab:
Option
Description
Name
The identifier of the Toast to be removed. If the Toast was created by a Toast Popup then this will be the Field Name of the Toast Popup, if it was created via JavaScript then it will be the id.
 
 

Notes

Toast can also be removed with JavaScript.
 
If multiple Toast with the same Name exist, then the most recent one will be removed each time the Toast Remove is triggered.
 
If removing a Toast created by a Toast Popup, the Name shouldn't be wrapped in square brackets.
 
As with other button-type controls, it is possible to trigger this by JavaScript or Update Links. Please see the .click() article for more information and an example regarding using JavaScript.