@assaabloy/wc-editorial-section5

Web component - Editorial Section5

Usage no npm install needed!

<script type="module">
  import assaabloyWcEditorialSection5 from 'https://cdn.skypack.dev/@assaabloy/wc-editorial-section5';
</script>

README

ASSA ABLOY Global web - web components

Editorial Section5

Custom HTML element

<editorial-section5 editorialData="" theme=""></editorial-section5>

Properties | Name | Type | Description | | ------------- | --------- | ----------------------------- | | editorialData | Object | base64 encoded | | theme | String | |

editorialData

{
  "title": "Here goes an short intro to the section, maybe even a second row",
  "html": "<p>Duis dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>",
  "cta": {
    "label": "Read more",
    "url": "/#",
    "type": "primary | secondary | contrast",
    "visible": true
  },
  "config": {
    "padding": {
      "top": true,
      "bottom": true
    }
  }
}

theme
Two different color options:

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

Dependencies
@assaabloy/wc-vendor