Input DropDown for Algolia
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>
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
MIT