@assaabloy/wc-editorial-section2
v2.0.7
Published
Web component - Editorial Section2
Downloads
38
Maintainers
Keywords
Readme
Global web - web components
Editorial Section2
Custom HTML element
<editorial-section2 editorialData="" theme=""></editorial-section2>
Properties | Name | Type | Description | | ------------- | --------- | ----------------------------- | | editorialData | Object | base64 encoded | | theme | String | |
editorialData
{
"title": "Here goes an short intro to the section",
"image": {
"url": "https://picsum.photos/900/500",
"label": {
"visible": true,
"title": "Title",
"text": "Label text",
"url": "/#",
"position": "topRight | topLeft | bottomRight | bottomLeft"
}
},
"html": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat.</p>",
"cta": {
"label": "Read more",
"url": "/#",
"type": "primary | secondary | contrast",
"visible": true
},
"config": {
"padding": {
"top": true,
"bottom": true
}
}
}
theme
Two different color options:
Dependencies
@assaabloy/wc-vendor