Home

Awesome

wepy-com-pwdfield

NPM

适用于房间号输入,验证码输入,密码等有位数限制明密文输入框

安装 Install

npm install -S wepy-com-pwdfield

使用 Usage

import Pwdfield from 'wepy-com-pwdfield'

export ...

    components = {
      pwdfield: Pwdfield
    }
<pwdfield :sixdig="sixdig" :display="display" color="#444751" @value="handleValue" />

默认是选择数字,从14,颜色是#444751

配置 Options

Api

参数说明类型可选值默认值
sixdig开启六位数Boolean--
display明密文Boolean-true
color边框颜色String-#444751

Event

参数说明返回值
value实时获取填写变化String