display-file
Overview
The display-file
component displays a file that was previously captured.
Basic Example
<var name="usage_report" type="attachment" />
<display-file label="Usage Report" bind="usage_report" />

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-file
> downloadable
fullwidth
fullwidth
hide-filename
hide-filename
See capture-file
> hide-filename
id
idid
label-case
label-caselabel-case
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.displayFile({id:'my-id'})
is called from JS/TS:
closeMedia
closeMedia
downloadMedia
downloadMedia
See capture-file
> downloadMedia
openMedia
openMedia
scrollIntoView
scrollIntoView
Last updated