chars-limiter
Version:
To used for limitaion to type element.
40 lines (23 loc) • 567 B
Markdown
# Chars-limiter
###### Limits the input of integer types #######
## Install
1. Using `npm` to install:
```
# install chars-limiter by npm
npm i chars-limiter
```
2. Using `yarn` to install:
```
# install chars-limiter by yarn
npm i chars-limiter
```
## Usage
```JS
import Vue from 'vue';
import chartLimiter from 'Chars-limiter';
Vue.use(chartLimiter);
<input v-integer name='input' />
```
## Features
1. Strictly restrict input type of HTML ,To prevent value from overflow.
2. restrict element by introduce v-directive