Skip to main content

Image

Image Element | Image Display Element shadow

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

DescriptionIt 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.
Attributealt
Typestring | undefined
Defaultundefined

src

DescriptionSpecifies the source URL of the image file to be displayed on the web page.
Attributesrc
Typestring | undefined
Defaultundefined

Events

No events available for this component.

Methods

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Properties

No CSS custom properties available for this component.

Slots

No slots available for this component.