README
wc-search-header
Search header
Settings
Key | Optional | Default | Description |
---|---|---|---|
search_url | True | '/search' | The url to post the form to |
search_placeholder | True | 'Search' | Placeholder text for the search box |
search_value | True | '' | Default value to put into the textbox |
results_total | True | 0 | Total number of search results |
display_results | 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