hj-soft-keyboard

基于simpleKeyboard 和el-input 再封装的vue软键盘组件
364
Install
npm install hj-soft-keyboard
Latest Version:1.2.6
Vue:2
License:MIT
Last Updated:Apr 12, 2024
Links: npm
Maintainer: lee.h.jane

hj-soft-keyboard

安装

npm install hj-soft-keyboard -S

使用

main.js 文件

import softKeyboard from "hj-soft-keyboard/lib/soft-keyboard.umd"; import "hj-softkeyboard/lib/soft-keyboard.css"; Vue.use(softKeyboard);

页面使用

功能描述:keyboardClass为必填参数 类似于id 主要用来绑定软键盘,页面如有多个组件时,该参数需要不重名,其余参数参考el-input

更新记录:

1.1.0 版本更新:
增加 isDebug 字段 , type: Boolean , 默认:false,是否开启debug模式
增加 isXl 字段,type: Boolean , 默认: false, 是否使用xl-input 替换el-input
1.2.0 版本更新:
去除 isXl 字段,改为暴露 ElInput 和 XlInput 组件替换
去除 keyboardClass 字段,改为用 uuid 自动生成唯一标识
1.2.0 版本使用 main.js

import ElInput from "hj-soft-keyboard/lib/soft-keyboard.umd"; import "hj-softkeyboard/lib/soft-keyboard.css"; Vue.use(ElInput);

1.2.2 版本更新:
修改export events
1.2.3 版本更新:
vue 深层监听动态渲染修改
1.2.5 版本更新:
增加export events
1.2.6 版本更新:
样式优化

Related Packages

vue

The progressive JavaScript framework for building modern web UI.

588,019,132 54,801
vue
@vueuse/shared
372,738,348 22,398
@vueuse/core

Collection of essential Vue Composition Utilities

367,188,523 22,398
@vitejs/plugin-vue

The official plugin for Vue SFC support in Vite.

333,357,380 686
eslint-plugin-vue

Official ESLint plugin for Vue.js

266,364,830 4,591

Version History

Version Released Vue License
1.2.6 ^2.6.14 MIT
1.2.5 ^2.6.14 MIT
1.2.4 ^2.6.14 MIT
1.2.3 ^2.6.14 MIT
1.2.2 ^2.6.14 MIT