Image
The Image element adds a lazyload function to images and displays a placeholder icon in the form of an animated image during loading.
Basic Usage
Attributes and Properties
alt
Description | It serves as an alternative text to describe the content of the image, which will be displayed if the image is not loaded. It is also used by screen readers. |
Attribute | alt |
Type | string | undefined |
Default | undefined |
src
Description | Specifies the source URL of the image file to be displayed on the web page. |
Attribute | src |
Type | string | undefined |
Default | undefined |
Events
No events available for this component.