ToastBeforeCloseArgs

Interface represents the event arguments for the beforeClose event.

Properties

cancel Boolean

Gets or sets a value indicating whether we should cancel the operation or not.

container HTMLElement

Gets the HTML element of the toast container.

element HTMLElement

Gets the HTML element of the toast.

name String

Gets the name of the event.

options ToastModel

Gets the current model properties for the toast.

type String

Gets the type of interaction that caused the toast to be closed.