Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
password-virtual-keyboard-vue
Advanced tools
``` 本组件是在闲暇之余随便写的一个简单的密码模拟键盘,支持数字、特殊字符、字母大小写,同时目前还未正式完善,因此在有时间的情况下会进行补充完善 ```
本组件是在闲暇之余随便写的一个简单的密码模拟键盘,支持数字、特殊字符、字母大小写,同时目前还未正式完善,因此在有时间的情况下会进行补充完善
v1.0.x 版本说明
1.0.9 *修复文件引入问题
1.0.8 *新增键盘顺序打乱功能(可选),并在数字键盘中移除“ * ”和“ # ”两个符号
1.0.7 *新增明/密文显示按钮,新增输入光标显示
1.0.6 *修复列表样式问题
1.0.5 *修复部分bug,对样式细节进行了完善,添加自定义密码长度功能
1.0.4 *简单的进行键盘模拟,支持changeInputValue(触发键盘按键时)与complete(点击完成按钮时)回调
JavaScript、Vuejs
npm install password-virtual-keyboard-vue
import keyboard from 'password-virtual-keyboard-vue'
Vue.use(keyboard)
<template>
<div id="app">
<Keyboard
@complete="getResult"
@changeInputValue="changeValue"
:inputNum="6"
:showClear="true"
:isDislocate="true">
</Keyboard>
</div>
</template>
<script>
export default {
name: 'App',
methods:{
getResult(e){
console.log(e)
},
changeValue(e){
console.log(e)
}
}
}
</script>
@complete | Function | 点击完成按钮触发
@changeInputValue | Function | 点击按键输入时触发
:inputNum | Number | 可定义密码长度,默认为6个
:showClear | Boolean | 可设置是否显示明/密文按钮,默认为false
:isDislocate | Boolean | 可设置是否打乱密码键盘,默认为false
FAQs
``` 本组件是在闲暇之余随便写的一个简单的密码模拟键盘,支持数字、特殊字符、字母大小写,同时目前还未正式完善,因此在有时间的情况下会进行补充完善 ```
The npm package password-virtual-keyboard-vue receives a total of 0 weekly downloads. As such, password-virtual-keyboard-vue popularity was classified as not popular.
We found that password-virtual-keyboard-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.