value

Image Properties for general information about Image components.

Specifies the value of the Image component in cases when the component is bound to a data field (i.e., representing an aggregate). If the Image component is not bound to a data field, the value property is undefined.

Type

Number

Example

if (Image1.value > 10000) {
  Image1.background = 'red';
}

Either syntax below can be used in component script:

value           // unqualified
Image1.value    // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.