This package has been deprecated

Author message:

component moved into @cnbritain/merlin-www-article

@cnbritain/wc-section-gallery

2.12.1 • Public • Published

wc-section-gallery

A section gallery

Macro Settings

Key Optional Default Description
article false Article the slice is based on
gallery_images false Images to display
brand true 'default' Name of the brand

JS Documentation

SectionGallery

SectionGallery.init()

Initialises the lazyload of images

Kind: static method of SectionGallery

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

/@cnbritain/wc-section-gallery/

    Package Sidebar

    Install

    npm i @cnbritain/wc-section-gallery

    Weekly Downloads

    54

    Version

    2.12.1

    License

    ISC

    Last publish

    Collaborators

    • rtt
    • samtiffin
    • cnduk