All docs
V24.1
24.2
24.1
23.2
23.1
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Toast Types

ContentReadyEvent

The type of the contentReady event handler's argument.

import { ContentReadyEvent } from "devextreme/ui/toast"
Type:

Object

DisposingEvent

The type of the disposing event handler's argument.

import { DisposingEvent } from "devextreme/ui/toast"
Type:

Object

dxOverlayAnimation

Configures UI component visibility animations. This object contains two fields: show and hide.

import { dxOverlayAnimation } from "devextreme/ui/overlay"

dxToastAnimation

import { dxToastAnimation } from "devextreme/ui/toast"

HiddenEvent

The type of the hidden event handler's argument.

import { HiddenEvent } from "devextreme/ui/toast"
Type:

Object

Used in:

HidingEvent

The type of the hiding event handler's argument.

import { HidingEvent } from "devextreme/ui/toast"
Type:

Object

Used in:

InitializedEvent

The type of the initialized event handler's argument.

import { InitializedEvent } from "devextreme/ui/toast"
Type:

Object

OptionChangedEvent

The type of the optionChanged event handler's argument.

import { OptionChangedEvent } from "devextreme/ui/toast"
Type:

Object

ShowingEvent

The type of the showing event handler's argument.

import { ShowingEvent } from "devextreme/ui/toast"
Type:

Object

ShownEvent

The type of the shown event handler's argument.

import { ShownEvent } from "devextreme/ui/toast"
Type:

Object

Used in:

ToastType

Specifies the Toast UI component type.

Accepted Values: 'custom' | 'error' | 'info' | 'success' | 'warning'

Used in: