Global web - web components
Single Page Content
Custom HTML element
<gw-group-single-page-content content=""></single-page-content>
Properties
Name | Type | Description |
---|
content | Object | base64 encoded |
Job opening page
{
"category": "jobOpening",
"applicationLabel": "",
"details": {
"jobReqId": 0,
"title": "",
"jobDescription": {
"header": ""
},
"applicationDueDate": "",
"created": "",
"applicationUrl": "",
"employmentType": "",
"jobFunction": {
"category": "",
"name": ""
},
"locations": [
{
"region": "",
"country": "",
"state": "",
"city": "",
"address": ""
}
],
"experienceLevel": {
"value": 0,
"name": ""
}
}
}
Press release page
{
"category": "pressRelease",
"applicationLabel": "",
"details": {
"id": "",
"title": "",
"isRegulatory": true,
"publishDate": "",
"category": "",
"htmlIntro": "",
"introOverridden": false,
"htmlBody": "",
"contactDetails": "",
"aboutUs": "",
"cisionWireUrl": "",
"image": {
"downloadUrl": "",
"urlTo100x100ArResized": "",
"urlTo200x200ArResized": "",
"urlTo400x400ArResized": "",
"urlTo800x800ArResized": "",
"description": "",
"keywords": []
},
"pdfUrl": ""
}
}
Alternative content to pass down for displaying error message:
{
"infoMessage": {
"title": "",
"text": ""
}
}
content.category
This property decides on what component to render within the web component. Currently one option:
- "jobOpening"
- "pressRelease"
Dependencies
@assaabloy/gw-group-vendor
@assaabloy/brand-styles