veams-component-article

5.2.1 • Public • Published

npm version Gitter Chat

Article

Description

The article component is a wrap-with partial to give you the possibility to put in every content you need.


Installation

Installation with Veams

veams install vc article


Fields

Settings

  • 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.

Content

  • 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

Dependents (0)

Package Sidebar

Install

npm i veams-component-article

Weekly Downloads

1

Version

5.2.1

License

MIT

Last publish

Collaborators

  • andy-gutsche
  • sebastian-fitzner