vpp
vue-pay-password
npm i vue-pay-password
vpp

vue-pay-password

vue pay password component

by limichange

0.0.4 (see all)License:MITTypeScript:Not Found
npm i vue-pay-password
Readme

vue-pay-password

Description

Demo https://codesandbox.io/s/53r20qn9yk

Install

Terminal

$ npm i vue-pay-password --save
// or
$ yarn add vue-pay-password

CDN

<link rel="stylesheet" herf="https://unpkg.com/vue-pay-password/dist/vue-pay-password.css">
<script src="https://unpkg.com/vue-pay-password/dist/vue-pay-password.umd.min.js" />

Usage

<template>
  <div id="app">
    <payPassword />
  </div>
</template>

<script>
import payPassword from "vue-pay-password";
import "vue-pay-password/dist/vue-pay-password.css";

export default {
  name: "App",
  components: {
    payPassword
  }
};
</script>

Prop

NameTypeDefaultDescription
namestring''input name
tabindexnumber0input tabindex
lengthnumber6input value length
valuestring''default input value
disablebooleanfalsedisable input
onlyNumberbooleantrueonly allow input number

API

NameDescription
focusfocus input
clearclear input

Event

NameDescription
focusfocus event
blurblur event

Browser Support

ChromeFirefoxEdgeIESafariOpera
Latest ✔Latest ✔Latest ✔9+ ✔9.1+ ✔Latest ✔

Devlopment

$ npm i
$ npm run dev
$ npm test

Author

Copyright (c) 2018-present, limichange

Licensing

Licensed under the MIT

Downloads/wk

33

GitHub Stars

11

LAST COMMIT

4yrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

2

OPEN PRs

1
VersionTagPublished
0.0.4
latest
4yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate