Vue.js Mixin: Google Maps Autocomplete for Addresses.
####Usage
This is a reusable Vue.js Mixin to help adding an address autocomplete feature using the Places library in the Google Maps JavaScript API.
Steps:
- Add this mixin to any Vue.js instance or component
- Get the DOM input element where you will be typing addresses, and assing it to a property named
googleAutoCompleteInput
- Create a method named
updateAddress
. In this method, you can assign the address values to your required properties. Check the example onapp.js
Contributions are welcome, just submit a PR
##License
google-autocomplete-address-vuejs-mixin is available under the MIT license.