@springernature/global-autocomplete
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -34,3 +34,3 @@ import {autoComplete} from '../js/index.js'; | ||
timeout: 2000, // OPTIONAL: Set a timeout for the fetch request, onError will be called if fetch request timeouts, default is 2000 | ||
minCars: 1, // OPTIONAL: Minimum characters to be typed before request is sent, default is 0 | ||
minChars: 1, // OPTIONAL: Minimum characters to be typed before request is sent, default is 0 | ||
inputDelay: 300, // OPTIONAL: Delay between keypress and request being sent, default is 300 | ||
@@ -40,4 +40,4 @@ headers: { | ||
}, | ||
resultsContainerSelector: 'c-results-container', | ||
resultSelector: 'c-results-container__result', | ||
resultsContainerSelector: '.c-results-container', | ||
resultSelector: '.c-results-container__result', | ||
resultsCallBack: showResults | ||
@@ -44,0 +44,0 @@ }; |
# History | ||
## 1.0.2 (2019-11-28) | ||
* Fix typo | ||
## 1.0.1 (2019-10-16) | ||
@@ -4,0 +7,0 @@ * Adds demo/ folder to configure a demo for the Elements site |
{ | ||
"name": "@springernature/global-autocomplete", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Autocomplete/suggest component", |
19059