0.1.2 • Published 5 years ago

vue-zipcode-input v0.1.2

Weekly downloads
13
License
-
Repository
-
Last release
5 years ago

vue-zipcode-input

It's a lightweight component that give you the regex (and validate) of the different zipcode of countries.

Demo

Output sample

Why ?

I see the nice project vue-tel-input, you can choose your country and it's give you the good phone number for your country. I think that could be cool to have the same component for the zipcode.

The props

That will come really soon guys !

The events

Property valueArgumentsDescription
@get-result-regexStringFires when the input changes, give the result of the test of the regex (true or false)
@get-regexObjectFires when the input changes, give the raw regex (Could be cool for vee-validate !)
@get-inputStringFires when the input changes, give the current value of input

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Lints and fixes files

yarn run lint
0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago