The Toast Remove Control allows the simple removal of created Toast notifications.
This Control is part of the Intermediate Control pack, and will only be available if your System has the appropriate licence.
How To
Add a Toast Remove to the Page. The options and style can be configured in the Options tab and Styling tab of the Field Properties.
Toast Remove Fields can be styled in a Stylesheet by referencing the control-toast-remove class.
The Toast Remove Control 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.
If removing a Toast created by a Toast Popup, the Name shouldn't be wrapped in square brackets.
As with other button-type Fields, upon activation the button will then be temporarily disabled until the action has completed.
As with other button-type Fields, 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.