New to Kendo UI for AngularStart a free 30-day trial

AttachmentTemplateDirective

Defines a template for displaying message attachments.

To define an attachment template, nest an <ng-template> tag with the kendoChatAttachmentTemplate attribute inside the <kendo-chat> component. The template context is set to the attachment instance. For more information, refer to the article on message attachments.

html
<kendo-chat>
  <ng-template kendoChatAttachmentTemplate let-attachment>
    <div>Attachment: {{ attachment.content }}</div>
  </ng-template>
</kendo-chat>

Selector

[kendoChatAttachmentTemplate]

In this article
Selector
Not finding the help you need?
Contact Support