display-photo
Overview
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
bindbindlabel
labellabelAdvanced Attributes
align-content
align-contentalign-contentalign-controls
align-controlsalign-controlsalign-label
align-labelalign-labelcontrol-order
control-ordercontrol-orderdownloadable
downloadableSee capture-photo > downloadable
fullwidth
fullwidthid
ididlabel-case
label-caselabel-caselabel-color
label-colorlabel-colorshow-if and hide-if
show-ifhide-ifshow-if and hide-ifComponent 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
closeMediaSee capture-photo > closeMedia
downloadMedia
downloadMediaSee capture-photo > downloadMedia
openMedia
openMediascrollIntoView
scrollIntoViewLast updated
