@assaabloy/wc-editorial-section3

Web component - Editorial Section3

Usage no npm install needed!

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

README

ASSA ABLOY Global web - web components

Editorial Section3

Custom HTML element

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

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

editorialData

{
  "title": "Here goes an short intro to the section",
  "html": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing. 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