Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular5-location

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular5-location

Display country, region and city. Based on country, filter region and city

  • 1.0.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

AngularLocation

This module supports angular 5+ versions

Features

  • Autocomplete
  • Filter region and city based on country.
  • Default country, region and city will be displayed. In this module, provide configure option to display(country only, country and state only, all)

Demo Output

Usage

npm install angular5-location --save

In app.module.ts, make the following additions

import { LocationModule } from 'angular5-location';

@NgModule({
  imports: [
    LocationModule
  ]
})
export class AppModule { }

component file use like below

<angular5-location [locationData]="locationData" [config]="locationConfig"></angular5-location>
locationData = {
  country: any,
  state: any,
  city: any
}

If you have battutta token, you can send the token as input to angular5-location.

Development server

Run ng serve or npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Keywords

FAQs

Package last updated on 16 Jul 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc