@assaabloy/gw-group-story-grid v21.0.2
Global web - web components
Story Grid
Custom HTML element
<gw-group-story-grid content="" theme=""></gw-group-story-grid>
Properties | Name | Type | Description | | ------------- | --------- | ----------------------------- | | content | Object | base64 encoded | | theme | String | |
content
{
"title": "",
"text": "",
"url": "",
"noCardMessage": "",
"primaryCard": {
"title": "",
"link": {
"url": ""
},
"visible": true
},
"config": {
"padding": {
"top": true,
"bottom": true
}
},
// Translations
"loading": "",
"showMore": "",
"nothingMoreToShow": "",
"showingXofY": ""
}
Response from url should contain the following:
{
"items": [
{
"id": "",
"subject": "",
"title": "",
"listText": "",
"preamble" "",
"type": "",
"created": "",
"link": {
"url": ""
}
"image": {
"url": "",
"alt": "",
"renditions": {
"blur-up": "",
"400": "",
"800": "",
"1200": "",
"1600": "",
"2500": ""
}
}
},
]
}
theme Two different background options:
- "theme-alt-1" (white)
- "theme-alt-2" (grey)
Dependencies
@assaabloy/gw-group-vendor
@assaabloy/brand-styles
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago