1.1.1 • Published 16 hours ago

getaddress-typeahead v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
16 hours ago

Javascript - Typeahead.

Install

From NPM

npm install getaddress-typeahead

Or CDN

<script src="https://cdn.getaddress.io/scripts/getaddress-typeahead-1.1.0.min.js"></script>

Example Usage

  <label for="textbox_postcode" class="control-label">Postcode:</label>
  <input type="text" id="textbox_postcode" > 


  <script>
    getAddress.typeahead("textbox_postcode","postcode", "API Key or Domain Token");
  </script>

Options

The full list of options, and their defaults:

getAddress.typeahead(
        'textbox_id',
         search_on: 'postcode|locality|town_or_city|district|county|country', /*the field to search on*/
        'API KEY or Domain Token'
        }
    );
1.1.1

16 hours ago

1.1.0

26 days ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago