Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

chars-limiter

nuoya-alpha13MIT1.0.2

To used for limitaion to type element.

limter, string, chars, input, limt, input, limitation

readme

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

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