Attachment Type documentation¶
TypeScript declaration¶
Attachment item interface for file attachments in chat messages, used by SiAttachmentListComponent and inside SiUserMessageComponent as well as SiChatInputComponent. See: SiAttachmentListComponent for the attachment list component See: SiUserMessageComponent for the user message See: SiChatInputComponent for the chat input component File name Optionally show a preview of the attachment by providing a template that is shown in a modal when clicked (optional) previewTemplate ? : import type { Attachment } from '@siemens/element-ng/chat-messages'; Properties ¶
TemplateRef<any> | (() => TemplateRef<any>) ¶
Except where otherwise noted, content on this site is licensed under MIT License.