The article component is a wrap-with
partial to give you the possibility to put in every content you need.
veams install component article
veams -i c article
The partial is a \{{#wrapWith}}
helper. Documentation for wrapWith helper.
Parameter | Type | Value | Description |
---|---|---|---|
settings.articleContextClass | String | default |
Context class of component. |
settings.articleClasses | String | Modifier classes for component. | |
settings.articleHeader.articleHeaderClasses | String | Classes for header element. | |
settings.articleContentClasses | String | Classes for content div. | |
settings.articleFooter.articleFooterClasses | String | Classes for footer element. |
Parameter | Type | Description |
---|---|---|
content.articleHeader | Object | Object which contains multiple elements |
content.articleHeader.articleDate | String | Date string |
content.articleHeader.articleDatetime | String | Date attribute |
content.articleHeader.articleH1 | String | Header H1 |
content.articleHeader.articleH2 | String | Header H2 |
content.articleHeader.articleH3 | String | Header H3 |
content.articleHeader.articleIntro | String | Header Intro |
content.articleFooter | Object | Object which contains multiple elements |
content.articleFooter.articleFooterLink | String | Footer link |