![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@angular-magic/ngx-gp-autocomplete
Advanced tools
This module is a wrapper for Google Places Autocomplete JS library
Demo: https://ngx-gp-autocomplete.angularmagic.com
This module is a wrapper for Google Places Autocomplete js library. Initial code base was copied from this project ngx-google-places-autocomplete, this module applies some fixes and improvements. Like @types/google.maps and @googlemaps/js-api-loader
npm install @angular-magic/ngx-gp-autocomplete
npm install @googlemaps/js-api-loader
npm install --save @types/google.maps
import { NgxGpAutocompleteModule } from "@angular-magic/ngx-gp-autocomplete";
@NgModule({
imports: [
NgxGpAutocompleteModule,
BrowserModule,
FormsModule,
//...
],
providers: [
{
provide: Loader,
useValue: new Loader({
apiKey: 'AIzaSyAFaylOBsuhYPYw9YqWmhN370xTvc6DXYU',
libraries: ['places']
})
},
//...
],
//...
})
Replace YOUR_API_KEY with google places api key. Ref - https://developers.google.com/places/web-service/get-api-key
Add directive ngx-gp-autocomplete to your input field (options is an optional parameter)
<input #placesRef="ngx-places" ngx-gp-autocomplete [options]='options' (onAddressChange)="handleAddressChange($event)"/>
export class Component {
@ViewChild('ngxPlaces') placesRef: NgxGpAutocompleteDirective;
public handleAddressChange(place: google.maps.places.PlaceResult) {
// Do some stuff
}
}
Please feel free to declare issues or contribute: https://github.com/angular-magic/ngx-gp-autocomplete
FAQs
This module is a wrapper for Google Places Autocomplete JS library
The npm package @angular-magic/ngx-gp-autocomplete receives a total of 1,627 weekly downloads. As such, @angular-magic/ngx-gp-autocomplete popularity was classified as popular.
We found that @angular-magic/ngx-gp-autocomplete demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.