Enum sap.m.ImageModeModule: sap/m/library


Determines how the source image is used on the output DOM element.


Since: 1.30.0.
Field Summary
sap.m.ImageMode.BackgroundThe image is rendered with 'span' tag and the 'src' property is set to the 'background-image' CSS style on the output DOM element
sap.m.ImageMode.ImageThe image is rendered with 'img' tag and the 'src' property is set to the src attribute on the output DOM element.
Field Detail
sap.m.ImageMode.Background: string
The image is rendered with 'span' tag and the 'src' property is set to the 'background-image' CSS style on the output DOM element
sap.m.ImageMode.Image: string
The image is rendered with 'img' tag and the 'src' property is set to the src attribute on the output DOM element.