File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @jawg/types" ,
3
- "version" : " 1.0.2 " ,
3
+ "version" : " 1.0.3 " ,
4
4
"description" : " Shared TypeScript definitions for Jawg Maps projects" ,
5
5
"types" : " ./index.d.ts" ,
6
6
"typeScriptVersion" : " 2.3" ,
Original file line number Diff line number Diff line change @@ -172,6 +172,20 @@ declare namespace JawgPlaces {
172
172
* Default value is `false`, you will need to press `Enter` to validate your search.
173
173
*/
174
174
searchOnTyping ?: boolean ;
175
+ /**
176
+ * Set the minimum number of characters to trigger a geocoding request.
177
+ * If you press `Enter` the search will be validated even if the length is not reached.
178
+ * This option work only when `searchOnTyping=true`.
179
+ * Default value is `0`.
180
+ */
181
+ minLength ?: number ;
182
+ /**
183
+ * Set the number of milliseconds to wait before a search validation.
184
+ * If you press `Enter` the search will be immediately validated.
185
+ * This option work only when `searchOnTyping=true`.
186
+ * Default value is `350`.
187
+ */
188
+ debounceDelay ?: number ;
175
189
/**
176
190
* Filter the kind of place you want to find.
177
191
*/
You can’t perform that action at this time.
0 commit comments