erdkse / ngx-phone-number-input

Angular 6+ phone number input
https://ngx-phone-number-input-demo.stackblitz.io/
Do What The F*ck You Want To Public License
1 stars 0 forks source link

NgxPhoneInput

npm Greenkeeper badge npm bundle size (minified) NpmLicense Libraries.io SourceRank

Getting started

Step 1: Install:

NPM

npm install --save ngx-phone-number-input

YARN

yarn add ngx-phone-number-input

Step 2: Import the NgxPhoneNumberInputModule and ReactiveFormsModule module:

import { NgxPhoneNumberInputModule } from 'ngx-phone-number-input';
import { ReactiveFormsModule } from '@angular/forms';

@NgModule({
  declarations: [AppComponent],
  imports: [NgxPhoneNumberInputModule, ReactiveFormsModule],
  bootstrap: [AppComponent]
})
export class AppModule {}