File

src/components/multi-slot-container/msc-items/msc-product-item/msc-product-item.model.ts

Description

This interface represents the configuration of a MSCProductItemComponent.

Extends

CmsComponent

Index

Properties

Properties

buttonText
buttonText: string
Type : string
Optional
childPreviewId
childPreviewId: string
Type : string
Optional
headline
headline: string
Type : string
Optional
image
image: ImageMedia
Type : ImageMedia
Optional
previewId
previewId: string
Type : string
Optional
product
product: Observable<Product>
Type : Observable<Product>
Optional
subline
subline: string
Type : string
Optional
text
text: string
Type : string
Optional
import { CmsComponent, Product } from '@spartacus/core';
import { Observable } from 'rxjs';
import { ImageMedia } from '../msc-content-item/msc-content-item.model';

/**
 * This interface represents the configuration of a {@link MSCProductItemComponent}.
 *
 * @export
 * @interface MSCProductItemComponentData
 */
export interface MSCProductItemComponentData extends CmsComponent {
  previewId?: string;
  childPreviewId?: string;
  image?: ImageMedia;
  product?: Observable<Product>;
  headline?: string;
  subline?: string;
  text?: string;
  buttonText?: string;
}

results matching ""

    No results matching ""