Class: CardImg

CardImg(src, alt, objectFit, aspectRatio)

Card image element.

Constructor

new CardImg(src, alt, objectFit, aspectRatio)

Parameters:
Name Type Description
src string image src
alt string image alt
objectFit string CSS object-fit parameter
aspectRatio string | number CSS aspect-ratio parameter
Source:

Classes

CardImg