2.0.0 • Published 12 days ago

@addressfinder/addressfinder-webpage-tools v2.0.0

Weekly downloads
27
License
-
Repository
github
Last release
12 days ago

AddressFinder Webpage Tools

This NPM package is designed to work alongside the AddressFinder Widget to add autocomplete capability to your Ecommerce store or webpage.

It provides three classes:

  • PageManager, which identifies your address form, and handles the mapping of your address form configurations to the DOM.
  • FormManager, which binds AddressFinder to your form, and handles the population of the correct address fields when an address is selected
  • MutationManager, which listens for mutations to the DOM, and reinitialises AddressFinder on mutations

Installation

npm install @addressfinder/addressfinder-webpage-tools

Usage

import { PageManager, MutationManager, FormManager } from '@addressfinder/addressfinder-webpage-tools'

For more examples of usage, look in the examples folder.

2.0.0

12 days ago

1.8.7

29 days ago

1.8.6

1 month ago

1.8.5

4 years ago

1.8.4

4 years ago

1.8.3

4 years ago

1.8.2

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.1

4 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago