Image scale type. For details about available values, see Types of the object-fit style. The SVG format is not supported. |
||||
Whether image orientation changes with the text direction. The SVG format is not supported. |
||||
Whether the <image> component adapts to the image source size when the width and height are not set. If this attribute is set to true, the object-fit attribute does not take effect. SVG images do not support this attribute. |
||||
Position of an image in the component. 1. Pixels. For example, 15px 15px indicates the moving position along the x-axis or y-axis. 2. Characters. Optional values are as follows: |
Triggered when an image is successfully loaded. The loaded image is returned. |
||
Triggered when an exception occurs during image loading. In this case, the width and height are 0. |