0.1.0 • Published 6 years ago

algolia-search-idd v0.1.0

Weekly downloads
18
License
MIT
Repository
github
Last release
6 years ago

algolia-search-idd

Input DropDown for Algolia

Install

yarn add algolia-search-idd

Or use CDN(via unpkg)

<script src="//unpkg.com/algolia-search-idd@0.1.0/dest/index.min.js"></script>

Example

import asidd from 'algolia-search-idd';
// or from cdn
// const asidd = window.algoliaSearchIDD;
asidd.algoliaSearchIDD({
  el: '.selector', // or DOM Element or NodeList
  applicationID: '...',
  apiKey: '...',
  indexName: '...',
  // template: '[optional] using customer EJS template string',
});

Or clone this repo and run

npm run example

License

MIT