Links

display-photo

Overview

Version compatibility
The display-photo component was visually updated in version 4.74.0 of JourneyApps Runtime.
Displays an existing photo that was previously captured.

Basic Example

<var name="plant_assembly" type="photo" />
<display-photo bind="plant_assembly" label="Assembly" />

Standard Attributes

bind

label

Advanced Attributes

align-content

align-controls

align-label

control-order

downloadable

fullwidth

id

label-case

Version compatibility
label-case was introduced in version 4.80.0 of the JourneyApps Runtime.

label-color

show-if and hide-if

Component Methods

The following component methods are available when an id is assigned to the component and component.displayPhoto({id:'my-id'}) is called from JS/TS:

closeMedia

downloadMedia

openMedia

scrollIntoView