@assaabloy/gw-group-embed

Web component - Embed component (iframe)

Usage no npm install needed!

<script type="module">
  import assaabloyGwGroupEmbed from 'https://cdn.skypack.dev/@assaabloy/gw-group-embed';
</script>

README

ASSA ABLOY Global web - web components

Embed component (iframe)

Custom HTML element

<gw-group-embed content="" theme=""/></gw-group-embed>

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

content

{
  "height": "50%", // px or percentage value.
  "embedUrl": "https://example.com",
  "embedTitle": "Iframe title",
  "config": {
    "padding": {
      "top": true,
      "bottom": true
    }
  }
}

theme Two different color options:

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

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