Skip to content

AttachedFile

Description

Display an Attachment based below configuration. First need to attach a file in admin panel -> files -> attachment file

Attributes

  • tile=attachedFile
  • attachment:
    • id: Provide Attachment id [get it from admin -> files -> attachment file and get id]
    • attachment: Provide Attachment id [get it from admin -> files -> attachment file and get id]
  • options: Array circle | wide | full | square | noClick
  • styles: support additional styles
  • classes: support additional styles

Example

{
  "tile": "attachedFile",
  "title": "AttachedFile Tile Testing",
  "attachment": {
    "id": "7c161890-afb9-4254-96fb-dfd973845a0e"
  },
  "options": ["full"],
  "styles": {
    "widget": {
      "borderRadius": "10px"
    }
  }
}