display-file
Overview
Platform compatibility
Compatible with all platforms.
The display-file
component was visually updated in version 4.80.0 of JourneyApps Runtime.
The display-file
component displays a file that was previously captured.
Basic Example
main.view.xml
Standard Attributes
bind
pagebindbind
label
pagelabellabel
Advanced Attributes
align-content
pagealign-contentalign-content
align-controls
pagealign-controlsalign-controls
align-label
pagealign-labelalign-label
control-order
pagecontrol-ordercontrol-order
downloadable
downloadable
See capture-file
> downloadable
fullwidth
fullwidth
hide-filename
hide-filename
See capture-file
> hide-filename
id
pageidid
label-case
label-case
Version compatibility
label-case
was introduced in version 4.80.0 of the JourneyApps Runtime.
label-color
pagelabel-colorlabel-color
show-if
and hide-if
pageshow-ifpagehide-ifshow-if
and hide-if
Component Methods
The following component methods are available when an id
is assigned to the component and component.displayFile({id:'my-id'})
is called from JS/TS:
closeMedia
closeMedia
downloadMedia
downloadMedia
See capture-file
> downloadMedia
openMedia
openMedia
scrollIntoView
scrollIntoView
Last updated