0.1.2 • Published 2 years ago

ng-phone v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years 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

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago