An open API service indexing awesome lists of open source software.

https://github.com/arm092/am-country-picker

Multilanguage country picker
https://github.com/arm092/am-country-picker

countries country country-picker es6 javascript js multilanguage

Last synced: 11 days ago
JSON representation

Multilanguage country picker

Awesome Lists containing this project

README

          

# **Country Picker plugin for Jquery and Vanilla Js**

Usage for jQuery:
```
$('.custom-picker').amcPicker();
```

Usage for Vanilla:
```
import AmcPicker from 'am-country-picker';

const picker = new AmcPicker(document.querySlelector('.custom-picker'));
```
You can put options as second parameter.
Default options are:
```
{
//Countries codes that will be excluded from list
exclude: [],
}
```

### Changelog

**1.0.3:**
* fixed small bugs
* updated all dependencies
* added 'amc-loaded' class on select after init

**1.0.2:**
* fixed jQuery method for returning jQuery object

**1.0.1:**
* added multi language support

**1.0.0:**
** created plugin