1.2.3 • Published 7 months ago

getaddress-typeahead v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months 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.2.0

7 months ago

1.2.3

7 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago