0.1.2 • Published 12 months ago

ng-phone v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

Installation

Install Dependencies

$ npm i ng-phone

$ npm install google-libphonenumber --save

$ ng add ngx-bootstrap

Install This Library

$ npm install ng-phone --save

Usage

Import

Add NgPhoneModule to your module file:

imports: [NgPhoneModule];

Example

<ng-phoneCode></ng-phoneCode>

Options

OptionsTypeDefaultDescription
enablePlaceholderbooleantrueInput placeholder text, which adapts to the country selected.
customPlaceholderstringNoneCustom string to be inserted as a placeholder.
maxLengthnumberNoneAdd character limit.

|

                                                     <!-- | cssClass                 | `string`                 | `control-form`                    | Bootstrap input css class or your own custom one. -->
0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago