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
Standard Attributes
bind
bindbind
label
labellabel
Advanced Attributes
align-content
align-contentalign-content
align-controls
align-controlsalign-controls
align-label
align-labelalign-label
control-order
control-ordercontrol-order
downloadable
downloadable
See capture-photo
> downloadable
fullwidth
fullwidth
id
idid
label-case
label-case
Version compatibility
label-case
was introduced in version 4.80.0 of the JourneyApps Runtime.
label-color
label-colorlabel-color
show-if
and hide-if
show-ifhide-ifshow-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
closeMedia
See capture-photo
> closeMedia
downloadMedia
downloadMedia
See capture-photo
> downloadMedia
openMedia
openMedia
scrollIntoView
scrollIntoView
Last updated