JavaScript/jQuery CardView - cardCover
Configures the card cover.
Type:
index.js
- $(#dxCardView).dxCardView({
- // ...
- cardCover: {
- imageExpr: (data) => data.imgUrl,
- altExpr: (data) => data.imgAlt,
- aspectRatio: 3.5,
- maxHeight: 200,
- }
- })
Configures the card cover.