0.1.4 • Published 4 years ago

v-maxlength v0.1.4

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

v-maxlength

bundlephobia minified size npm package version github license js standard style

Vue 2.x directive for limiting textbox and textarea maxlength.

Install

$ npm i --save v-maxlength

Usage

import Vue from 'vue'
const maxLength = require('v-maxlength').default;

Vue.use(maxLength)
<template>
  <textarea v-maxlength="50"></textarea>
  <input v-maxlength="50" />
</template>

Event Handler

  • input
0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago