Interface describing an action linked to a notification.
Callback function to trigger
By default execution of the callback will close the toast and dismiss the notification. You can prevent this by calling event.preventDefault() in the callback.
event.preventDefault()
Optional
The action caption.
This can be a longer description of the action.
The action display type.
This will be used to modify the action button style.
The action label.
This should be a short description.
Interface describing an action linked to a notification.