
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
electron-vue-dusion-keyboard
Advanced tools
基于vue的一款js输入法,需运行在electron环境下
npm install electron-vue-dusion-keyboard -S
在 main.js 中写入以下内容全局注册:
import VueDusionKeyboard from 'electron-vue-dusion-keyboard'
Vue.use(VueDusionKeyboard)
<script src="./electron-vue-dusion-keyboard.js"></script>
在非all
模式下,input标签添加属性data-mode
,然后在合适位置放置组件<vue-dusion-keyboard></vue-dusion-keyboard>
即可。
<input type="text" data-mode="en_cap" />
<vue-dusion-keyboard float></vue-dusion-keyboard>
组件添加all
属性即可为所有input标签注册弹出输入法
<vue-dusion-keyboard all float :blurHide="true" hand></vue-dusion-keyboard>
属性 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
data-mode | 弹出输入法的类型:en_let 英文小写en_cap 英文大写cn 中文hand 手写 | String | en_let en_cap cn hand | en_let |
属性 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
all | 是否为所有input 标签注册弹出输入法 | Boolean | true/false | false |
float | 是否使输入法组件浮动在当前input 标签下方 | Boolean | true/false | false |
hand | 是否启用手写输入,默认禁用 | Boolean | true/false | false |
blurHide | 当input 标签失去焦点时是否隐藏输入组件 | Boolean | true/false | true |
enter-active-class | 输入组件弹出来的动画效果,基于Animate.css | String | 见 Animate.css 官网 | fadeInUp |
leave-active-class | 输入组件隐藏时的动画效果 | String | 同上 | fadeOutDown |
启用手写输入需运行在electron环境下,并且添加手写输入dll。
手写输入dll加QQ751069244索取手写输入dll暂不对外公开。
FAQs
A Vue.js project
The npm package electron-vue-dusion-keyboard receives a total of 4 weekly downloads. As such, electron-vue-dusion-keyboard popularity was classified as not popular.
We found that electron-vue-dusion-keyboard 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.