
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@hypersign-dev/react-virtual-keyboard
Advanced tools
A on-screen keyboard (OSK) Component that works in the browser for reactJS. Useful for Kiosk Touchscreens.
Based on the Virtual Keyboard using jQuery: https://mottie.github.io/Keyboard/
npm install react-virtual-keyboard
import Keyboard from 'react-virtual-keyboard';
<Keyboard
value={this.state.input}
name='keyboard'
options={{
type:"input",
layout: "qwerty",
alwaysOpen: true,
usePreview: false,
useWheel: false,
stickyShift: false,
appendLocally: true,
color: "light",
updateOnChange: true,
initialFocus: true,
display: {
"accept" : "Submit"
}
}}
onChange={this.onInputChanged}
onAccepted={this.onInputSubmitted}
ref={k => this.keyboard = k}
/>
onInputChanged = (data) => {
this.setState({ input: data });
}
onInputSubmitted = (data) => {
console.log("Input submitted:", data);
}
this.keyboard.interface.keyaction.enter = (base) => {
// Enter button pressed
// Accepting content, as an example:
return this.keyboard.interface.keyaction.accept(base);
};
For more information, check out the API documentation: https://github.com/Mottie/Keyboard/wiki/Options
FAQs
Use jQuery Virtual Keyboard in react.js
We found that @hypersign-dev/react-virtual-keyboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.