Angular CardView - InitNewCardEvent

The argument type in the initNewCard event.

import { DxCardViewTypes } from "devextreme-angular/ui/card-view"
Type: DxCardViewTypes.InitNewCardEvent

component

The UI component's instance.

Selector: dxo-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)