3.1.11 • Published 1 year ago
@autoaddress.ie/aa3-control v3.1.11
README
How do I get set up?
run
npm install "@autoaddress.ie/aa3-control"
to download the libraryReference the autoaddress.min.js file inside your html header tag, pointing to the appropriate directory
<script src="node_modules/@autoaddress.ie/aa3-control/autoaddress/autoaddress.min.js"></script>
<link rel="stylesheet" href="node_modules/@autoaddress.ie/aa3-control/autoaddress/autoaddress-style.css">
- Add the folowing tag inside your html body tag
<div id="aa-control"></div>
- Add the following in a script tag after the body, replacing the apiKey parameter with your autoaddress ApiKey.
<script>
var aa = Autoaddress({
apiKey: "my_key",
element: "aa-control",
});
</script>