jefn76 / ngx-intl-tel-input-pure

Phone number input field to support international numbers, Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

International Telephone Input for Angular (ngx-intl-tel-input-pure)

A plugin base on ngx-intl-tel-input without 'ngx-bootstrap' and 'intl-tel-input' dependency.

Installation

Install Dependencies

$ npm install google-libphonenumber @angular/cdk --save

Add Dependency Style

Add '@angular/cdk' style file:

./node_modules/@angular/cdk/overlay-prebuilt.css

to angular.json styles array:

"styles": [
  "./node_modules/@angular/cdk/overlay-prebuilt.css",
  "src/styles.css"
],

OR to 'src/styles.scss'

@import '~@angular/cdk/overlay-prebuilt.css';

Install This Library

$ npm install ngx-intl-tel-input-pure --save

Usage

More usages please go to ngx-intl-tel-input.

About

Phone number input field to support international numbers, Angular


Languages

Language:TypeScript 56.2%Language:SCSS 36.1%Language:HTML 4.5%Language:JavaScript 3.1%