Skip to Content
ReferenceBanner catalogConsumption information banner

Consumption information banner

Audience: CMS editors and developers.

Type: CarConsumptionInfoBanner.

This banner opens a dialog that explains CO₂ emissions and consumption.

This banner includes the common banner props.

Properties

id●
string
required

CMS ID.

buttons●required

Exactly one consumptionInfo action is required. Explicit null text uses the translated label.

car●
CarConsumptionData
required

Vehicle consumption and emissions data shown in the dialog.

Example

declare const car: CarConsumptionData; const banner: CarConsumptionInfoBanner = { typename: BannerTypename.CarConsumptionInfo, id: 'b_123', title: null, titleTag: 'h2', titleAlign: 'left', cssId: null, cssClasses: null, car, buttons: { items: [ { id: 'consumption', action: 'consumptionInfo', text: null, style: 'primary', theme: null, url: null, contactForm: null, }, ], align: 'left', width: 'intrinsic', overflow: 'wrap', }, };
Last updated on