vue-intl-telephone-input
Advanced tools
Comparing version
{ | ||
"name": "vue-intl-telephone-input", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Vue component for input international telephone numbers and validating.", | ||
@@ -8,6 +8,7 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/ZiJie-Li/vue2-intl-tel-input.git" | ||
"url": "git+https://github.com/ZiJie-Li/vue-intl-telephone-input.git" | ||
}, | ||
"keywords": [ | ||
"vue", | ||
"intl-tel-input", | ||
"intl-tel-input" | ||
@@ -18,5 +19,5 @@ ], | ||
"bugs": { | ||
"url": "https://github.com/ZiJie-Li/vue2-intl-tel-input/issues" | ||
"url": "https://github.com/ZiJie-Li/vue-intl-telephone-input/issues" | ||
}, | ||
"homepage": "https://github.com/ZiJie-Li/vue2-intl-tel-input#readme", | ||
"homepage": "https://github.com/ZiJie-Li/vue-intl-telephone-input#readme", | ||
"dependencies": { | ||
@@ -23,0 +24,0 @@ "libphonenumber-js": "^1.7.8" |
@@ -1,2 +0,2 @@ | ||
# vue2-intl-tel-input | ||
# vue-intl-telephone-input | ||
Vue component for input international telephone numbers and validating. | ||
@@ -7,7 +7,7 @@ | ||
```bash | ||
yarn add vue2-intl-tel-input | ||
yarn add vue-intl-telephone-input | ||
``` | ||
- **npm**: | ||
```bash | ||
npm i --save vue2-intl-tel-input | ||
npm i --save vue-intl-telephone-input | ||
``` | ||
@@ -18,3 +18,3 @@ | ||
```javascript | ||
import IntlTelInput from 'vue2-intl-tel-input'; | ||
import IntlTelInput from 'vue-intl-telephone-input'; | ||
@@ -90,2 +90,2 @@ Vue.component('intl-tel-input', IntlTelInput); | ||
| `validateSuccess` | `Object` | Fires when the input changes on validate success with the argument is the object includes `{ number, country }` | | ||
| `validateError` | | Fires when the input changes on validate error | | ||
| `validateError` | | Fires when the input changes on validate error | |
137563
0.04%89
1.14%