Skip to main content

Image

Overview

A visible component to display an image

Component Properties

PropertyDescription
sourceIt specifies the source of the image present in your assests.
widthIt sets the width of the image in pixels. Default: 100px
heightIt sets the height of the image in pixels. Default: 100px
altIt provides alternative text for the image. It is displayed if the image cannot be loaded or by screen readers for accessibility.

Blocks

Events

On Click

fires on clicked on image

loading block...

Properties

picture

Accepts: Asset

sets the image picture

loading block...

width

Accepts: Number

sets the width of the image

loading block...

height

Accepts: Number

sets the height of the image

loading block...

width

Returns: Number

gets the width of the image

loading block...

height

Returns: Number

gets the height of the image

loading block...

hide

Accepts: Boolean

Hides the component if the input is true and shows it if the input is false

loading block...

hidden

Returns: Boolean

Returns true if the component is hidden and false if it is not

loading block...