@cnbritain/wc-search-header

Search header

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@cnbritain/wc-search-header
1.8.26 years ago7 years agoMinified + gzip package size for @cnbritain/wc-search-header in KB

Readme

wc-search-header
Search header
Settings
| 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:
  • 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