Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
google
maps
places
Autocomplete
Class Autocomplete
MVC
Hierarchy
MVCObject
Autocomplete
Index
Constructor methods
constructor
Methods
addListener
bindTo
changed
get
getBounds
getPlace
notify
set
setBounds
setComponentRestrictions
setTypes
setValues
unbind
unbindAll
Constructor methods
constructor
(
inputField
:
HTMLInputElement
, opts
?:
AutocompleteOptions
)
:
Autocomplete
Parameters
inputField:
HTMLInputElement
opts?:
AutocompleteOptions
optional
Returns
Autocomplete
Methods
public
addListener
(
eventName
:
string
, handler
:
(...args: any[]) => void
)
:
MapsEventListener
Parameters
eventName:
string
handler:
(...args: any[]) => void
Returns
MapsEventListener
public
bindTo
(
key
:
string
, target
:
MVCObject
, targetKey
?:
string
, noNotify
?:
boolean
)
Parameters
key:
string
target:
MVCObject
targetKey?:
string
optional
noNotify?:
boolean
optional
public
changed
(
key
:
string
)
Parameters
key:
string
public
get
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
public
getBounds
(
)
:
LatLngBounds
Returns
LatLngBounds
public
getPlace
(
)
:
PlaceResult
Returns
PlaceResult
public
notify
(
key
:
string
)
Parameters
key:
string
public
set
(
key
:
string
, value
:
any
)
Parameters
key:
string
value:
any
public
setBounds
(
bounds
:
LatLngBounds
)
Parameters
bounds:
LatLngBounds
public
setComponentRestrictions
(
restrictions
:
ComponentRestrictions
)
Parameters
restrictions:
ComponentRestrictions
public
setTypes
(
types
:
Array<string>
)
Parameters
types:
Array<string>
public
setValues
(
values
:
any
)
Parameters
values:
any
public
unbind
(
key
:
string
)
Parameters
key:
string
public
unbindAll
(
)
Globals
google
google.maps
google.maps.adsense
google.maps.drawing
google.maps.geometry
google.maps.infobubble
google.maps.panoramio
google.maps.places
google.maps.visualization
google.maps.weather
PlacesServiceStatus
RankBy
AutocompleteOptions
ComponentRestrictions
PlaceDetailsRequest
PlaceGeometry
PlaceResult
PlaceSearchPagination
PlaceSearchRequest
SearchBoxOptions
TextSearchRequest
Autocomplete
constructor
addListener
bindTo
changed
get
getBounds
getPlace
notify
set
setBounds
setComponentRestrictions
setTypes
setValues
unbind
unbindAll
PlacesService
SearchBox