Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
vue-virtual-keyboard
Advanced tools
Use jQuery Virtual Keyboard in Vue
A on-screen keyboard (OSK) Component that works in the browser for vue. Useful for Kiosk Touchscreens.
Inspired by react-virtual-keyboard Based on the Virtual Keyboard using jQuery: https://mottie.github.io/Keyboard/ For more information, check out the API documentation: https://github.com/Mottie/Keyboard/wiki/Options
npm install --save vue-virtual-keyboard
<keyboard
:options="keyboardOption"
class="ui-keyboard-case"
v-model="pym"
></keyboard>
import { Keyboard } from 'vue-virtual-keyboard';
keyboardOption: {
usePreview: false,
stickyShift: false,
autoAccept: true,
language: 'zh',
display: { // overwrite key display
accept: '确认',
bksp: '删除',
cancel: '取消',
enter: '回车',
},
},
.ui-keyboard-case {
font-size: 40px;
text-align: center;
/* background: #fefefe; */
border: 1px solid #ffe3e2;
padding: 4px;
width: 38%;
height: auto;
margin-right: 5%;
/* left: 25%; */
/* top: auto;
bottom: 0px; */
/* position: fixed; */
}
Example in jsfiddle
<!-- Include after Vue -->
<!-- Local files -->
<link rel="stylesheet" href="vue-virtual-keyboard/dist/vue-virtual-keyboard.css"></link>
<script src="vue-virtual-keyboard/dist/vue-virtual-keyboard.js"></script>
<!-- From CDN -->
<link rel="stylesheet" href="https://unpkg.com/vue-virtual-keyboard/dist/vue-virtual-keyboard.css"></link>
<script src="https://unpkg.com/vue-virtual-keyboard"></script>
npm run dev
npm run dev:coverage
Bundle the js and css of to the dist
folder:
npm run build
The prepublish
hook will ensure dist files are created before publishing. This
way you don't need to commit them in your repository.
# Bump the version first
# It'll also commit it and create a tag
npm version
# Push the bumped package and tags
git push --follow-tags
# Ship it 🚀
npm publish
FAQs
Use jQuery Virtual Keyboard in Vue
We found that vue-virtual-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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.