https://github.com/raidan00/vue-r-mask
https://github.com/raidan00/vue-r-mask
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/raidan00/vue-r-mask
- Owner: raidan00
- License: mit
- Created: 2018-01-10T00:38:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T17:45:42.000Z (over 1 year ago)
- Last Synced: 2024-04-29T19:01:40.067Z (over 1 year ago)
- Language: JavaScript
- Size: 678 KB
- Stars: 22
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vue - vue-r-mask - Directive with template similar to javascript regular expression. (Components & Libraries / UI Components)
- awesome-vue - vue-r-mask - Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world. (UI Components [🔝](#readme))
- awesome-vue-zh - Vue-R-掩模 - 带有类似于javascript正则表达式的模板的指令. (UI组件 / 形成)
- awesome-vue - vue-r-mask - Directive with template similar to javascript regular expression. (Components & Libraries / UI Components)
- awesome-vue - vue-r-mask ★14 - Directive with template similar to javascript regular expression. (UI Components / Form)
- awesome-vue - vue-r-mask - Directive with template similar to javascript regular expression. (UI Components / Form)
- fucking-awesome-vue - vue-r-mask - Directive with template similar to javascript regular expression. (Components & Libraries / UI Components)
README
# vue-r-mask
### mask directive for vue.js
* Template similar to javascript regular expression. /\d{2}/
* Directive useful for your own input or textarea.
* Arbitrary number of digits in template /\d{1,10}/
### [Live Demo](https://raidan00.github.io/vue-r-mask/dist/index.html)
### [Live Demo Source](https://github.com/raidan00/vue-r-mask/blob/master/src/components/Demo.vue)
## Install in your project
```
npm install vue-r-mask
```
## Run this demo repository
``` bash
git clone https://github.com/raidan00/vue-r-mask.git
cd vue-r-mask
npm install
npm run dev
```