This package has been deprecated

Author message:

component moved into @cnbritain/merlin-www-article

@cnbritain/wc-card

3.8.5 • Public • Published

wc-card

Card component - Portrait, landscape and switcher

Macro Settings:

Key Optional Default Description
article false The article model
card_type true 'portrait' The layour of the card
brand true '' Name of the brand
theme true 'light' Colour scheme of the card
hide_author true True Hides the author from the meta
hide_duration true True Hides the duration from the meta
hide_image_icon true True Hides the image icon from the image
hide_description true True Hides the description from the card

JS Documentation

Card

Card.init()

Initialises the lazyload of images

Kind: static method of Card

#Current themes:

  • Wired

Prerequisites:

  • Node.jsbrew install node
  • Grunt - npm install -g grunt-cli
  • Other prereqs? Python? Virtualenv?

Demo:

Install dependencies:

npm install

Build the things:

npm run sass
npm run js

Python the pythons:

cd demo
virtualenv .
source bin/activate
pip install -r requirements.txt

Start the demo server:

python demo.py

Readme

Keywords

none

Package Sidebar

Install

npm i @cnbritain/wc-card

Weekly Downloads

4

Version

3.8.5

License

ISC

Last publish

Collaborators

  • rtt
  • samtiffin
  • cnduk