vir-keyboard
v1.1.6
Published
虚拟键盘和input
Downloads
3
Readme
vir-keyboard
以vue框架为基础的虚拟键盘和虚拟input,如有bug,请邮箱联系。
props
v-model双向绑定值,单项则:value绑定 focus则表示是否聚焦,默认false
event
焦点发生改变:changeFocus(bool) bool 为true时,表示聚焦 值的改变change({value, isFocus})
局部引入
import virKeyboard from 'vir-keyboard' export default { components: { virKeyboard },
全局引入
import virKeyboard from 'vir-keyboard' import Vue from 'vue' Vue.use(virKeyboard)