import { LayoutModel } from '../layout.model'; /** * Class representing an enhanced version of the Card component */ export class CardModel { /** *

It is the layout type of the card.

*

The layout can be: standard, product, news.

*/ layout: LayoutModel; /** *

It is the description of the card.

*/ description: string; /** *

It is the image of the card.

*/ image: string; /** *

It is the type of the image which can be avatar, title or normal.

*/ image_type: string; /** * It specifies the color object of the card. */ color: { /** * It is the text color. */ foreground: string, /** * It is the background color. * Colors are: primary, accent and warn. Default is primary. */ background: string } = { foreground:"black", background:"white" }; /** * It specified the size object of a card */ size: { /** * The width of the card */ width: string } = { width:"270px"} /** *

Align the action buttons (if exist) on the main axis.

*

Align can be start or end.

*/ align: string = "right"; /** *

Used to set the class from the Card Component css file/

*

Example setting the animation: hvr-fade hvr-shadow-grow.

*/ class: string; }