README
wc-section-feature
A section feature
Macro settings
Key | Optional | Default | Description |
---|---|---|---|
article | false | The article to display | |
alignment | true | 'left' | Which side the image should be on |
JS Documentation
SectionFeature
SectionFeature.init()
Initialises the lazyload of images
Kind: static method of SectionFeature
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