vue3-address-autocomplete
v1.0.8
Published
> Input component with embedded Google Places API Autocomplete functionality
Downloads
666
Maintainers
Readme
vue3-address-autocomplete
Input component with embedded Google Places API Autocomplete functionality
Installation
npm i react-google-autocomplete --save
or
yarn add react-google-autocomplete
Usage
<template>
<AddressAutocomplete
ref="autocomplete"
@place-changed="callback"
google-key="your_google_key"
placeholder="whatever you like"
/>
</template>
<script setup>
import AddressAutocomplete from "vue3-address-autocomplete";
</script>
To clear the input contents use:
autocomplete.value.clear();