wc-search-header
Search headerSettings
| Key | Optional | Default | Description |
|------------------|----------|---------|-------------------------------------|
| searchurl | True | '/search' | The url to post the form to |
| searchplaceholder | True | 'Search' | Placeholder text for the search box |
| searchvalue | True | '' | Default value to put into the textbox |
| resultstotal | True | 0 | Total number of search results |
| displayresults | True | False | Shows the results section |Themes
- Wired
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