Link Search Menu Expand Document

Type: “Pdf”

Usage

This block is used to display a PDF to be downloaded.

Attributes

Key Value Type Example
ctaColor String “#212121”
Must be in hex css format
enableItemCTA Boolean true
enableItemIcon Boolean true
resources :[{
ctaIcon
ctaText
label
labelVisibility
link
type }, …]
Array
String
String
String
Boolean
String
Enum
can contain multiple cta objects
“https://files-myxp.gevme.com/misc…”
“ctaText”
“PDF File”
true
“https://files-myxp.gevme.com/…”
“pdf” | “link” | “image”

This block also support all the common attributes.

Example

 "backgroundCoverImage": "https://files-myxp.s3-ap-southeast-1.amazonaws.com/livestream/default_background/Light_BG_1.png",
 "backgroundCoverImageVisibility": false,
 "blockHeight": "fit-content",
 "blockVisibility": true,
 "blockWidth": "50%",
 "boundingBox": true,
 "contentMargin": ["40", "20", "20", "20", "px"],
 "contentPadding": "25px",
 "ctaColor": "#212121",
 "enableItemCTA": true,
 "enableItemIcon": true,
 "fitHeightToContent": true,
 "heading": "Resources",
 "headingVisibility": true,
 "resources": [
     {
        "ctaIcon": "https://files-myxp.gevme.com/misc/defaultPDF.svg",
        "ctaText": "Download",
        "label": "PDF File",
        "labelVisibility": true,
        "link": "https://files-myxp.gevme.com/LmnyXMh5ZHudkdLGA7bOlQg8M/60dd966f39ec4800494eabbe/waTgu/sample.pdf",
        "type": "pdf"
        }
    ],
 "title": "PDF",
 "type": "Pdf",
 "widthType": "half"

Screenshot