0.0.4 • Published 6 years ago

vue-pay-password v0.0.4

Weekly downloads
27
License
MIT
Repository
github
Last release
6 years ago

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

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago