Skip to content

pos-attachments

Overview

Lists whatever is attached to the current thing

Methods

addToList(attachment: Attachment) => Promise<void>

Adds an attachment visually to the list of attachments. This only adds an entry to the list, it does not actually upload the attachment. It is meant to be used after an attachment has been uploaded to update the view.

Parameters

Name Type Description
attachment Attachment The attachment to add to the list.

Returns

Type: Promise<void>

Dependencies

Used by

Depends on

Graph

graph TD;
  pos-attachments --> pos-rich-link
  pos-rich-link --> pos-label
  pos-rich-link --> pos-description
  pos-rich-link --> pos-resource
  pos-tool-attachments --> pos-attachments
  style pos-attachments fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS