vue-google-autocomplete-ridwan
v1.0.3
Published
When you start a search, you can find the information you’re looking for faster using search predictions. Search predictions are possible search terms you can use that are related to the terms you’re typing and what other people are searching for.
Downloads
3
Maintainers
Readme
Google Auto Complete (Location)
When you start a search, you can find the information you’re looking for faster using search predictions by Google Location API. Search predictions are possible search terms you can use that are related to the terms you’re typing and what other people are searching for.
Getting started
Installation
Quick Start with GIT with Documentation
git clone https://github.com/RidwanulHafiz/vue-google-autocomplete-ridwan.git
Quick Start with NPM
- Install with NPM
npm install vue-google-autocomplete-ridwan
- Get an API Key from the Google API Console
- Include Google location script with Google API key
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY=places"></script>
Usage
HTML component
<input type=text data-name="autocomplete"/>
Import package into component
import location from 'google-autocomplete-ridwan'
Then call it anywhere you need
location.AutoComplete();