0.1.2 • Published 1 year ago

ng-phone v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year 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

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago