Image widget

The image widget displays an image. It can include a description.

Example

Properties

Property

Description

Data type

event

Name of event that fires when a user clicks the image.

string

id

Unique identifier of this widget.

string

layout

Layout, which is either: horizontal | default.

enum

size

Image width and height, in pixels.

integer

src

URL of the image.

string (URL)

type Rich-media type, which is always Image. string

Widget-specific expression evaluations

Property

Description

Example

Data type

selectedImage

URL of selected image.

#widget1.img1.selectedImage

string

selectedIndex

Index of selected image.

#widget1.img1.selectedIndex

integer

Code samples