Type Definitions
onErrorCallback(error)
Function called after an error.
Using
this inside it will return the current AddressSearch
Parameters:
| Name | Type | Description |
|---|---|---|
error |
Object | The error |
- Source:
onPredictCallback(value, predictions)
Function called after a prediction.
Using
this inside it will return the current AddressSearch
Parameters:
| Name | Type | Description |
|---|---|---|
value |
String | The user's input |
predictions |
HTMLUListElement | The predictions UL element |
- Source:
onSelectCallback(address)
Function called after a selection.
Using
this inside it will return the current AddressSearch
Parameters:
| Name | Type | Description |
|---|---|---|
address |
PlaceResult | The selected address |
- Source: