React CardView - InitNewCardEvent

The argument type in the initNewCard event.

import { CardViewTypes } from "devextreme-react/card-view"
Type: CardViewTypes.InitNewCardEvent

component

The UI component's instance.

Selector: Component
Type: CardView

data

The data of the inserted card; initially empty.

Type:

Object

element

The UI component's container.

promise

Assign a Promise to this field to perform an asynchronous operation, such as a request to the server.

Type:

Promise<void> (jQuery or native)