Helper for Images.
Node | Description |
---|
Method | Description |
---|---|
sap.m.ImageHelper.getImageControl |
Creates or updates an image control. |
Creates or updates an image control.
Param | Type | DefaultValue | Description |
---|---|---|---|
sImgId | string |
UD of the image to be dealt with. |
|
oImageControl | sap.m.Image |
The image to update. If undefined, a new image will be created. |
|
oParent | sap.ui.core.Control |
oImageControl's parentControl. |
|
mProperties | object |
Settings for the image control; the |
|
aCssClassesToAdd | string[] |
Array of CSS classes which will be added if the image needs to be created. |
|
aCssClassesToRemove | string[] |
All CSS classes that oImageControl has and which are contained in this array are removed before adding the CSS classes listed in aCssClassesToAdd. |