1.0.0 • Published 4 years ago

intl-tel-ionic3 v1.0.0

Weekly downloads
195
License
MIT
Repository
-
Last release
4 years ago

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

1.0.0

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.7

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago