fabric-algolia
is a Polymer 3 Algolia search component.
Install fabric-algolia
with npm
$ npm install FabricElements/fabric-algolia --save
Import it into the <head>
of your page
<script type="module" src="https://github.com/FabricElements/fabric-algolia/raw/master/node_modules/@fabricelements/fabric-algolia/fabric-algolia.js"></script>
<fabric-algolia application-id=""
api-key=""
index=""
query=""
response=""></fabric-algolia>
application-id
(string) - Your Algolia Application ID.api-key
(string) - Your Algolia API key.index
(string) - Your Algolia records.query
(string) - Fields that should be include in the response.response
(object) - Algolia's response.See demo file for examples.
settings
(object) - Search settings.error
(object) - Error.error-changed
- Fired when the error
property has changed.response-changed
- Fired when the response
property has changed.Please check CONTRIBUTING.
Released under the BSD 3-Clause License.