Skip to content

rtk-file-message-view

A component which renders a file message.

Properties

PropertyTypeRequiredDefaultDescription
iconPackIconPack1❌defaultIconPackIcon pack
namestring✅-Name of the file
sizenumber✅-Size of the file
urlstring✅-Url of the file

Usage Examples

Basic Usage

<rtk-file-message-view></rtk-file-message-view>

With Properties

<rtk-file-message-view
name="example"
url="example">
</rtk-file-message-view>
<script>
const el = document.querySelector("rtk-file-message-view");
el.size= 42;
</script>