enum sap.m.AvatarImageFitType

Control sample: sap.m.AvatarImageFitType
Visiblity: public
Available since: N/A
Module: sap/m/AvatarImageFitType
Application Component: CA-UI5-CTR

Types of image size and position that determine how an image fits in the sap.m.Avatar control area.


Properties Overview

Node Description
sap.m.AvatarImageFitType.Contain

The image is scaled to the largest size so that both its width and height can fit in the control area.

sap.m.AvatarImageFitType.Cover

The image is scaled to be large enough so that the control area is completely covered.