display-photo

Overview

circle-info

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

bindchevron-right

label

labelchevron-right

Advanced Attributes

align-content

align-contentchevron-right

align-controls

align-controlschevron-right

align-label

align-labelchevron-right

control-order

control-orderchevron-right

downloadable

See capture-photo > downloadable

fullwidth

See capture-photo > fullwidth

id

idchevron-right

label-case

circle-info

Version compatibility

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

label-casechevron-right

label-color

label-colorchevron-right

show-if and hide-if

show-ifchevron-righthide-ifchevron-right

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

See capture-photo > closeMedia

downloadMedia

See capture-photo > downloadMedia

openMedia

See capture-photo > openMedia

scrollIntoView

See capture-photo > scrollIntoView

Last updated