ion-img

Defines a Lazy Image component.

This component will lazily load an image when ever it is in the viewport.
This is extremely useful when generating a large list as images are only loaded when they’re visible.
For more information: Img.

Name Description
Alt This attribute defines the alternative text describing the image. Users will see this text displayed if the image URL is wrong, the image is not in one of the supported formats, or if the image is not yet downloaded.
Src The image mandatory URL. Can be absolute (http(s)://) or relative to project (assets/myimage.png). Can also be a Base64 Embedded images (data:image/png;base64,iVBORw0…….).
Comment Describes the object comment to include in the documentation report. This property generally contains an explanation about the object.
Identifier Defines the component identifier.
Is active Defines whether the component is active.