google-address-autocomplete
Advanced tools
Comparing version 1.1.1 to 1.2.0
{ | ||
"name": "google-address-autocomplete", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "This is a package that gives an input address autocomplete by using Google's lookup.", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/dericcain/google-address-autocomplete.git" | ||
}, | ||
"keywords": [ | ||
@@ -28,3 +24,2 @@ "autocomplete", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^4.2.3", | ||
"prettier": "^1.7.4", | ||
@@ -31,0 +26,0 @@ "rollup": "^0.50.0", |
@@ -101,3 +101,8 @@ # Google Address Autocomplete | ||
``` | ||
> **NOTE:** You can use it for multiple fields on a page like so: | ||
```JavaScript | ||
new AddressAutocomplete('.shipping-address', result => console.log(result)); | ||
new AddressAutocomplete('.billing-address', result => console.log(result)); | ||
``` | ||
Just bind it to all of the form elements that need autocomplete. | ||
## Contributing | ||
@@ -107,2 +112,2 @@ See [the contributing guide](./CONTRIBUTING.md) | ||
## Issues | ||
If you find an issue, submit it and let's fix it! | ||
If you find an issue, submit it and let's fix it! |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
539623
12
112
1