Skip to content

n2name/v-maxlength

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Vue JS textbox and textarea maxlength

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published