@assaabloy/wc-editorial-section4
v4.0.3
Published
Web component - Editorial Section4
Downloads
67
Maintainers
Keywords
Readme
Global web - web components
Editorial Section4
Custom HTML element
<editorial-section4 editorialData="" theme=""></editorial-section4>
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 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>",
"media": {
"type": "video | image",
"image": {
"url": "https://picsum.photos/900/500",
"label": {
"visible": true,
"title": "Title",
"text": "Label text",
"url": "/#",
"position": "topRight | topLeft | bottomRight | bottomLeft"
}
},
"video": {
"title": "This is a title",
"src": "https://www.youtube-nocookie.com/embed/NNOpC7or7no?rel=0&wmode=transparent"
}
},
"cta": {
"label": "Read more",
"url": "/#",
"type": "primary | secondary | contrast",
"visible": true
},
"config": {
"reversed": true,
"padding": {
"top": true,
"bottom": true
}
}
}
theme
Two different color options:
Dependencies
@assaabloy/wc-vendor