Skip to content

rtk-draft-attachment-view

Last updated View as MarkdownAgent setup

A component which renders the draft attachment to send

Properties

Property Type Required Default Description
attachment { type: 'image' | 'file'; file: File; } - Attachment to display
iconPack IconPack1 defaultIconPack Icon pack
t RtkI18n1 useLanguage() Language

Usage Examples

Basic Usage

<!-- component.html -->
<rtk-draft-attachment-view></rtk-draft-attachment-view>

With Properties

<!-- component.html -->
<rtk-draft-attachment-view
 [attachment=]"{}">
</rtk-draft-attachment-view>

Was this helpful?