@cnbritain/wc-topic-stripdeprecated

Strip that displays a collection of items (usually topics)

Usage no npm install needed!

<script type="module">
  import cnbritainWcTopicStrip from 'https://cdn.skypack.dev/@cnbritain/wc-topic-strip';
</script>

README

wc-topic-strip

Strip that displays a collection of items (usually topics)

Settings

Key Optional Default Description
topics false List of items/topics to iterate over
title true None The title of the topics
class true '' Additional classes applied to .c-topic-strip

Themes

  • Wired
  • Glamour

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