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

https://github.com/krustnic/v-inputmask

Input mask directive for Vue 2.* based on jquery.inputmask
https://github.com/krustnic/v-inputmask

inputmask maskedinput vue vue-directive

Last synced: 4 months ago
JSON representation

Input mask directive for Vue 2.* based on jquery.inputmask

Awesome Lists containing this project

README

          

# Vue 2.* Input mask directive

It's wrapper for [jquery.inputmask](https://github.com/RobinHerbots/Inputmask) library. Allow to use directive on components (not only on INPUT tag elements)

## Example

Install:

```sh
npm install v-inputmask --save
```

Exmaple for [Elements UI](http://element.eleme.io/#/en-US):

```javascript
import VInputmask from 'v-inputmask';

Vue.use(VInputmask);
```

```html

```

For components by default it search for first `input` element. If there are multiple
elements it is possible to specify it by css selector:

```html

```