@assaabloy/gw-group-press-releases-list

Web component - Press Releases List

Usage no npm install needed!

<script type="module">
  import assaabloyGwGroupPressReleasesList from 'https://cdn.skypack.dev/@assaabloy/gw-group-press-releases-list';
</script>

README

ASSA ABLOY Global web - web components

Press Releases List

Custom HTML element

<gw-group-press-releases-list content="" theme=""></gw-group-press-releases-list>

Properties | Name | Type | Description | | ------------- | --------- | ----------------------------- | | content | String | base64 encoded object | | theme | String | |

content

{
  "url": ""
  "detailedPageUrl": "",
  "config": {
    "padding": {
      "top": true,
      "bottom": true
    }
  },

  // Translations
  "showingXofY": "Showing {{current}} of {{max}}",
  "result": "result",
  "results": "results",
  "loading": "Loading...",
  "showMore": "Show more",
  "nothingMoreToShow": "Nothing more to show",
  "readMore": "Read more",
  "downloadButtonLabel": "Download",
  "regulatory": "Regulatory",
  "nonRegulatory": "Non-regulatory",
  "newestFirst": "Newest first",
  "oldestFirst": "Oldest first",
  "alphabeticallyAZ": "A-Z",
  "alphabeticallyZA": "Z-A",
  "sortBy": "Sort by"
}

Response from url should contain the following:

{
  "itemsTotalCount": 0,
  "items": [
    {
      "id": "",
      "title": "",
      "isRegulatory": false,
      "publishDate": "",
      "category": "",
      "intro": "",
      "introOverridden": true, // Removed
      "cisionWireUrl": "", // Removed
      "rawHtmlUrl": "", // Removed
      "image": {
        "fileName": "",
        "downloadUrl": "",
        "urlTo100x100Thumbnail": "",
        "urlTo200x200Thumbnail": "",
        "urlTo100x100ArResized": "",
        "urlTo200x200ArResized": "",
        "urlTo400x400ArResized": "",
        "urlTo800x800ArResized": "",
        "title": ""
      },
      "pdfUrl": "" // Removed
    },
  ]
}

theme Two different background options:

  • "theme-alt-1" (white)
  • "theme-alt-2" (grey)

Dependencies @assaabloy/gw-group-vendor @assaabloy/brand-styles