
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
jx-vue2-keyboard
Advanced tools
基于vue2.0的数字键盘组件
安装
npm install jx-vue2-keyboard --save
使用
<template>
<div id="app">
<keyboard
:show="showKeyBoard"
title="请输入数字"
:decimalsLen="3"
btnColor="#F23838"
@getVal="getKeyBoardVal"
@close="showKeyBoard=false"
></keyboard>
</div>
</template>
<script>
import keyboard from 'jx-vue2-keyboard';
export default {
name: 'App',
data() {
return {
showKeyBoard: false,
amount: ''
}
},
components: {
keyboard
},
methods: {
getKeyBoardVal(val) {
this.showKeyBoard = true;
this.amount = val;
}
}
}
</script>
属性配置说明
show 是否显示键盘;
title 键盘标题;
decimalsLen 数字最大位小数;
btnColor 确定按钮颜色;
@getVal 获取输入的值;
@close 关闭键盘
FAQs
A Vue.js project,vue-keyboard,vuejs,vue
We found that jx-vue2-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
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.