0.1.3 • Published 2 years ago

vue-chill-code-input v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Vue Chill Code Input

Easy Verification Code Input for your Vue projects

Why tho

  • user friendly UI
  • support for copy & paste
  • v-model
  • typescript support
  • customizable length
  • basically behaves like a standard input

Currently working with Vue2 projects only. Vue3 support coming soon.

Install

npm i vue-chill-code-input

Usage

import VueChillCodeInput from 'vue-chill-code-input';

<VueChillCodeInput :length="6" v-model="myValue"/>

API

Props

nametyperequireddefaultoptions
lengthNumberfalse4
typeStringfalsetexttext, number, tel
passwordBooleanfalsefalse
autoFocusBooleanfalsefalse
autoBlurBooleanfalsetrue

Events

namewhendata
doneon fields filledinput value
blurwhen blurred-

Methods

namedesc
focusfocuses on input (on the first column)
blurblurs input
clearclear input

Warning

  • early beta version under heavy development
  • any part of API can be changed

Bugs and Features

Check here

0.1.3

2 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago