wc-section-gallery
A section galleryMacro Settings
| Key | Optional | Default | Description |
|------------------|----------|---------|-------------------------------------|
| article | false | | Article the slice is based on |
| galleryimages | false | | Images to display |
| brand | true | 'default' | Name of the brand |JS Documentation
SectionGallery
SectionGallery.init()
Initialises the lazyload of imagesKind: static method of
SectionGallery
Prerequisites:
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