intl-tel-ionic3
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

intl-input

intl-input is the selector for ionic3 to select multiple countries phone number. This module works with ionic 3 all version only.

Installation

npm install --save intl-tel-ionic3

Please go to https://github.com/SonuSahoo/intl-tel-ionic3.git and add the countries_details.json and country_flag folder to your assets to load the assets file.

Usage

Import IntlTelModule into your app's required page module

import { IntlTelModule } from  'intl-tel-ionic3'

@NgModule({
  imports: [
    IntlTelModule
  ]
})

Then, use it in your component:

@Component({
  selector: 'app',
  template: `
    <intl-input [(ngModel)]="mobileno" [config]="config" (onEnter)="onEnterdata($event)" ></intl-input>
  `
})
export class AppComponent {
    //config is mandatory without that it won't show on the front end
 public config = {
    placeholder: 'Mobile no',
    labletext: 'Contact *',
    textalign: 'right',
    maximumlength: 10,
    disabled: false,
    icon:true,
    iconName:"call"
  }
}

Documentation

As you can see in the code above, you will get the output from 'onEnterdata' function.

if you have any query please send us a email on sarojctc2010@gmail.com or artisahu028@gmail.com

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.00latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.00
0.3.70
0.3.60
0.3.50
0.3.40
0.3.30
0.3.20
0.3.10
0.3.00
0.2.90
0.2.80
0.2.70
0.2.60
0.2.50
0.2.40
0.2.30
0.2.20
0.2.10
0.2.00
0.1.90
0.1.80
0.1.70
0.1.60
0.1.50
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20

Package Sidebar

Install

npm i intl-tel-ionic3

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

69.9 kB

Total Files

38

Last publish

Collaborators

  • sarojsahoo