@cnbritain/wc-search-header

Search header

Stats

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

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:

  • 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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.