@assaabloy/gw-group-single-page-content
Advanced tools
Weekly downloads
Readme
Global web - web components
Custom HTML element
<gw-group-single-page-content content=""></single-page-content>
Properties
Name | Type | Description |
---|---|---|
content | Object | base64 encoded |
theme | String |
Job opening page
{
"category": "jobOpening",
"details": {
"jobReqId": 0,
"title": "",
"jobDescription": {
"header": ""
},
"applicationDueDate": "",
"created": "",
"applicationUrl": "",
"jobFunction": {
"category": "",
"name": ""
},
"locations": [
{
"region": "",
"country": "",
"state": "",
"city": "",
"address": ""
}
],
"experienceLevel": {
"value": 0,
"name": ""
},
// Translations
showMore: "Show more",
showLess: "Show less",
applicationDueHeading: "Application due",
experienceLevelHeading: "Experience level",
functionHeading: "Function",
locationHeading: "Location",
"apply": "",
}
}
Press release page
{
"category": "pressRelease",
"details": {
"id": "",
"title": "",
"isRegulatory": true,
"publishDate": "",
"category": "",
"htmlIntro": "",
"introOverridden": false,
"htmlBody": "",
"contactDetails": "",
"aboutUs": "",
"cisionWireUrl": "",
"image": {
"downloadUrl": "",
"urlTo100x100ArResized": "",
"urlTo200x200ArResized": "",
"urlTo400x400ArResized": "",
"urlTo800x800ArResized": "",
"description": "",
"keywords": []
},
"pdfUrl": "",
// Translations
"regulatory": "Regulatory"
"download": "", // new
}
}
** Article **
{
"category": "article",
"details": {
"type": "blog",
"date": "",
"readTime": "",
"preamble": "",
"media": {
"type": "image",
"image": {
"url": "",
"alt": "",
"renditions": {
"blur-up": "",
"400": "",
"800": "",
"1200": "",
"1600": "",
"2500": ""
},
"tag": {
"visible": true,
"title": "",
"text": "",
"url": ""
}
},
"video": {
"title": "",
"src": ""
}
},
"text": ""
"author": {
"name": "",
"jobTitle": "",
"description": "",
"email": "",
"phone": "",
"socialMedia": {
"link": {
"text": "",
"url": ""
},
"socialLinks": [
{
"icon": "linkedin.svg | twitter.svg",
"url": ""
},
]
},
"image": {
"url": "",
"alt": "",
"renditions": {
"blur-up": "",
"400": "",
"800": "",
"1200": "",
"1600": "",
"2500": ""
},
"smartCrops": {
"1-1-S": "",
"1-1-M": "",
"1-1-L": "",
"4-3-S": "",
"4-3-M": "",
"4-3-L": "",
"3-4-S": "",
"3-4-M": "",
"3-4-L": "",
"8-3-S": "",
"8-3-M": "",
"8-3-L": "",
"16-9-S": "",
"16-9-M": "",
"16-9-L": "",
"blur-up": ""
},
}
},
"info": {
"eyebrow": {
"title": ""
},
"title": "",
"text": "",
"link": {
"text": "",
"url": ""
}
}
"aspectRatio": "1-1" | "4-3" | "3-4" | "8-3" | "16-9",
// Translations
"readTimeMinRead": "{{readTime}} min read", // new
"byAuthor": "By {{ author }}", // new
"connectWithTheAuthor": "Connect with the author",
"call": "Call" // new
"emailAddress": "Email" // new
},
}
Alternative content to pass down to display an error message:
{
"infoMessage": {
"title": "",
"text": ""
}
}
content.category
This property decides on what component to render within the web component. options:
theme Two different theme options:
Dependencies
@assaabloy/gw-group-vendor
@assaabloy/brand-styles
FAQs
Web component - Single Page Content
The npm package @assaabloy/gw-group-single-page-content receives a total of 574 weekly downloads. As such, @assaabloy/gw-group-single-page-content popularity was classified as not popular.
We found that @assaabloy/gw-group-single-page-content demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.