Skip to main content

MixWidgetImage

Shared functionality between widgets that has images

Props​

NameDescriptionTypeRequiredDefault
configurationWidget configuration objectObjecttrue-
imageSizesSizes attribute for widget imageStringtrue-
imageRatiosImage ratiosArraytrue-

Computed​

ComputedTypeDescriptionFrom Store
hrefStringThe href of the imageNo
altTextStringThe alt textNo
filenameStringThe current filename, can be different images on phone or computerNo
filenamePhoneStringFile name for phonesNo
filenameTabletUpStringFile names if not phoneNo
currentSizeObjectThe current largest size for the image, object containing height and widthNo
currentRatioNumberThe current image ratioNo
fullWidthBooleanIs widget have full widthNo

MixIns​

MixIn
MixLinkHandler