npm i --save @arepa/country-code
- Version: 1.0.5
- GitHub: https://github.com/wuilmerj24/developerwym-plugins
- NPM: https://www.npmjs.com/package/%40arepa%2Fcountry-code
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 4
NativeScript country-code.
@arepa/country-code
ns plugin add @arepa/country-code
Usage
API
Methods
Method | Description |
---|---|
getCurrentPais(addPlus:boolean) | Returns a Promise country, code, numCell (numCell only for Android). |
listaCodigos | Returns an array with the countries' name, name, nom, iso2, iso3, code, flag. |
showListPaises | Open a modal with a search box and a list of countries. Returns the selected item. |